visualstudio « Development « C File Q&A

Home
C File Q&A
1.array
2.binary
3.delete
4.Development
5.directory
6.fgets
7.fopen
8.fprintf
9.fscanf
10.fwrite
11.header
12.include
13.input
14.LINE
15.linux
16.open
17.output
18.pointer
19.read
20.size
21.string
22.struct
23.Text
24.windows
25.write
C File Q&A » Development » visualstudio 

1. Can you keep Visual Studio source control binding info out of .sln and .csproj files?    stackoverflow.com

My Visual Studio 2005 is storing the info about which projects and solutions go with which source control repositories in the .sln and .csproj files. Is it possible to make it ...

2. How to create VS solution for existing c project so that VS picks new files automatically?    stackoverflow.com

I would like to port an embedded application to x86 to create an emulator. We decided to give VS2008 a try but I'm not sure how to make vs to understand our ...

3. How to compile a C file without visual studio    stackoverflow.com

I have visual studio 2008. I have a written a small C program. I want to compile that C file in command prompt. How do i do that ? please point ...

4. Why doesn't the debugger hit this breakpoint consistently? Am I neglecting a file handle?    stackoverflow.com

Consider the following code:

static void Main(string[] args)
{
    using (MemoryStream memoryStream = new MemoryStream(Resources.SampleXMLFile)) // Breakpoint set here
    {
     using (XmlTextReader xmlTextReader ...

5. Link error LNK2005 when trying to compile several CUDA files togheter    stackoverflow.com

I have a CUDA program that works fine, but that is currently all written in one file. I'd like to split this big file into several smaller ones, in order to ...

6. Configuration file 'C:\my\App.Config' is being used to configure all executables    stackoverflow.com

I have a Visual Studio setup project that installs an application into the task scheduler and also installs a GUI application to manage some configuration parameters in the registry. This being ...

7. Is possible to make mt.exe embed manifest files correctly in Visual Studio 2008?    stackoverflow.com

I found that mt.exe fails to correctly create and embed manifest files into executables when run inside a VCPROJ. For example the same executable load well on Windows 7 but failed to ...

8. Changing location of CSS file in master page based on compilation configuration    stackoverflow.com

Visual Studio 2010 has a new feature that is just way cool. You can now add transformation files that will change the web.config file based on the configuration you are ...

9. Visual Studio 9.0 Beta Program files in C:\    stackoverflow.com

I've several Visual Studio 9.0 Beta Program files in C:\ root directory:

eula.1028.txt
eula.1031.txt
eula.1033.txt
eula.1036.txt
eula.1040.txt
eula.1041.txt
eula.1042.txt
eula.2052.txt
eula.3082.txt
globdata.ini
install.exe
install.ini
install.res.1028.dll
install.res.1031.dll
install.res.1033.dll
install.res.1036.dll
install.res.1040.dll
install.res.1041.dll
install.res.1042.dll
install.res.2052.dll
install.res.3082.dll
vcredist.bmp
VC_RED.MSI
VC_RED.cab
I've VS 2008 Professional and 2010 Professional installed. Do I need the files mentioned above?

10. Programmatically creating VS solution/project files    stackoverflow.com

I have a C project with a very nice rake build system in place. Unit test runners, mocks, as well as some boilerplate code, are generated. The requirement is for the pc ...

11. Getting the wrong C runtime version in my manifest files (Visual Studio 2008)    stackoverflow.com

I am having a problem with building an application in Visual Studio 2008. I have declared the following in my project properties: _BIND_TO_CURRENT_MFC_VERSION=1 _BIND_TO_CURRENT_CRT_VERSION=1 _BIND_TO_CURRENT_ATL_VERSION=1 When I build my application in VS2008 it generates ...

12. Breaking program into multiple files - getting error "redefinition; different basic types"    stackoverflow.com

I want to break my program into multiple files
1. main.c - is the main function
2. definitions.h - contains #define, typedef, function prototypes
3. functions.c - contains function(prototypes in definitions.h) In definitions.h, I ...

13. Problem while compiling pro C files in visual studio 2008    stackoverflow.com

I am using visual studio 2008.I'm facing problem while compiling pro C files. It is not detecting the header files (stdio.h.....etc) even though i had specified the correct path I have added ...

14. Visual Studio 2010: instantiate project item from template zip file in custom location    stackoverflow.com

I would like to instantiate project item templates through code, but I don't want these project item templates (an their zips) to be "registered" with Visual Studio. I don't want them ...

15. Insert a hyperlink to another file (Word) into Visual Studio code file    stackoverflow.com

I am currently developing some functionality that implements some complex calculations. The calculations themselves are explained and defined in Word documents. What I would like to do is create a hyperlink in ...

16. Compiling all .c files in .obj files using GNU make and Microsoft Visual Studio compiler    stackoverflow.com

can anyone tell me what is wrong with this code:

CC = "C:\Program Files\Microsoft Visual Studio\VC98\Bin\CL.EXE"
CFLAGS = /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" ...

17. Linking different C source file in Visual Studio 2010    stackoverflow.com

I am using visual Studio 2010 for compiling a bunch of source File. I am new to it and I wonder how the object files are linked during compilation. Like in ...

18. VS2008 and C - does not generate lib file (sqlite3)    stackoverflow.com

I have to generate sqlite3.dll file to attach it to my C++ program (win32 - console application) and lib file is required too. In VS I created project and added to it ...

19. Fast creation of a C from a custom template in Visual Studio 2010    stackoverflow.com

How can I create in Visual Studio 2010 a new C file that has my own default/boilerplate code already loaded? (In the fastest way possible, like using a hotkey Ctrl+N for ...

20. Reference error while compiling C file in VS2010 command-prompt    stackoverflow.com

I have VS 2010 installed on my system and i was trying to compile a simple hello.c in VS command prompt. The compilation gave an error. Fatal Error C1083: Cannot open include ...

21. Errors while working with files in C in Visual studio 2010 IDE    stackoverflow.com

#include "stdafx.h"
#include "stdio.h"

int main(int argc, _TCHAR* argv[])
{
   FILE *fp;
   fp = fopen("/tmp/test.txt", "w");
   fprintf(fp, "This is testing...\n");
   fclose(fp);

   return 0;
}
i am ...

24. File I/O Assertion Failure in VS2008    cboard.cprogramming.com

Hello I am currently working on a problem that requires a program that takes a command line argument that is the name of a text file and creates a new text file with a heading line and the contents of the original file with line numbers added. If the files name contains a period, use the part of the name before ...

26. Visual Studio ncb file    cboard.cprogramming.com

There is a ncb file under the working directory of my Visual Studio 2005 project. It is very big, almost 7M. I am wondering, 1. what is the function of this file? 2. If I want to share code with someone else remotely, could I remove this file and send only other files? (sending 7M file through slow internet connection is ...

27. Lexical Analyzer (Need Help Compiling files in Visual Studio 6)    forums.devshed.com

Hello I was wondering if someone can help me figure out how I could get this source code to run on Visual Studio C++ 6. I cant get it to compile because I get an error in the header file of "lex.h" where it says that "#inculde " cannot be found. I hope someone can help me get this to run...thanks ...

28. Programming c in microsoft visual studio 2010 professional, Help with linking files    daniweb.com

I am taking a data structures class and we are using the standard gcc compiler on a unix system. This is fine and I have no troubles using it, but I would like to begin using an IDE for my labs. I am trying Visual Studio 2010 Professional with my .c files and am able to get very simple programs to ...

29. fseek error in visual studio    daniweb.com

#include #include #include int main() { FILE *fp; char *stringBuff; int i; int epi = 0; long lSize; fopen_s (&fp, "sequence.txt" , "rb" ); fseek (fp ,0 , SEEK_SET); lSize = ftell (fp); rewind (fp); stringBuff = (char*) malloc (sizeof(char)*lSize); fread (stringBuff,1,lSize,fp); for(i = 0 ; i < lSize; i++) epi = epi + 2 * (stringBuff[i] - 48 ) - ...

30. How to use dbghelp library into vs2005 to retrive info from .pdb files    codeproject.com

SymLoadModuleEx is always returning 0. DWORD test = SymLoadModuleEx(g_hProcess, // target process NULL,"D:\\TF_Sandbox\\SandBx_BL\\INTERN_91F\\TestSim\\debug\\TestSim.exe", // name of image file NULL, // name of module - not required dwBaseAddr, // base address - not required 0, // size of image - not required NULL, // MODLOAD_DATA used for special cases 0);//) // flags - not required

32. Help with compiling errors a c file in Visual Studio 6.0    tek-tips.com

dmxd99 (Programmer) 19 Jul 05 19:31 I am trying to compile this piece of C codes in Visual studio 6.0 and getting errors.Is it true that in order to use data type "HANDLE" I need to have #include Can "HANDLE" be used in a c program or only C++? I have a C executable code that need to execute and ...

33. Readonly .c file when runnning VS2008    bytes.com

On Fri, 18 Apr 2008 09:38:21 -0700, Chris Freeman wrote: I'm sure I am missing something stupid. When I debug my VS2008 Asp.Net project the .c file is locked and I can not edit it. I use to do this in VS2005. Anyone have an idea what changed? The default value for the "edit and continue" setting? Sounds like you ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.