On MS Visual C++, when i am typing my code, how do i make line numbers appear?
106879
In Visual Studio 2003, you can go to "Tools... and the Options..."\n\nFrom there, you should be given a tree view, select the "Text Editor" folder.  Select the language of choice (in this case C/C++) and then look for a checkbox that reads "Line Numbers".  Check that box and you should be good to go.
339058
If you are using Visual studio do a file create new and it will give you a list of files that you can create and it should have a header file.\n\nIf your not using it and want to use notepad make sure you are in the same folder as the rest of the project is and just create a text file with the extension .h\nfor example\ncars.h\n\nThis way in your cpp file you can use # include "cars.h"
1158232
#include <iostream>\nusing namespace std;\n\nvoid main ()\n{\nint countDown= 0;\n\ncout <<"Enter the number you want to start from: ";\ncin >>countDown;\n\nfor ( countDown; countDown >= 0; countDown--)\n      cout <<countDown<<", ";\n}\n\nAny other question, just ask, eoroxter@gmail.com\nGood Luck,
1150710
Use a visual C++ compiler to compile the code . you will need to modify some of your code too..
490330
i think it depends on the IDE u r working on\nform VB 2 C++ 2 C#\nwat exaclty the programming language u wanna use
1082403
Try to copy and paste from Edit, middle of File and View!\n\nLook up on left corner!\n\nDon't forget bout my points!
26175
Without knowing the language you're programming in, I can't tell you.\n\nHere are a few common ones:\n\nC++:\ncout << "Text to display";\n\nC:\nprintf("Text to display");\n\nJava:\nSystem.out.println("Text to display");\n\nEDIT:\nAh, you want VB! Here you go:\nConsole.Write("Text to display")\nor\nConsole.WriteLine("Text to display")
667264
There is no way to put multiline comments like we do for C/C++. Each VB line of Code has to be preceded with either a single quote or "REM". It time consuming if you want to do it for a number of lines. However, to make it easier, microsoft has provided a toolbar button (not visible by default - customise your toolbar. go to Edit and you will find a button to put comment and to remove comment). You can select the lines and click on the COMMENT button, it will put a single quote before all the selected lines.
454838
For existing programs that do this, see PSLIST and ProcessExplorer.  \n\nTo write your own in C++, see this great Code Project article by Ahmed Yassin: http://www.codeproject.com/threads/Tasks.asp\n\nA comment at the end of the article mentions 3 other ways to do it as well:\n\n1. ToolHelp \n2. PSAPI\n3. Read Registry (check platform SDK sample PView)\n4. some function exported by ntdll.dll \n\nAlso see the MSDN help on the functions used in Ahmed's article.\n\nGood luck!
1118192
I don't use vb.net myself (C# I use).\n\nIf you want to keep the 0's in the front though, it has to be a string, not an integer.\n\nYou convert it over to integer, add the next number, then cast it back to string, and pad the length to the desired number of 0's\n\nPseudo code:\n\nLicenseNoNum = CastToInt(LicenseNostr)\nLicenseNoNum = LicenseNoNum + 1\nLicenseNoStr = CastToStr(LicenseNoNum)\nWhile LicenseNoStr(Length) < 8\nLicenseNoStr = '0' + LicenseNoStr.\n\nYou could also just store it as an integer, and perform the cast for printing, which might be all you were looking for.
678911
Check out the site at http://www.pscode.com - I don't do C++ but I use that site all the time for Visual BASIC stuff I work on.
1008778
In a short cut?\n\nSimply retype the "run" line... and resave or rename the shortcut.
324014
This website has tutorials for Visual C++ .NET (and Dev-C++): http://www.zeuscmd.com/tutorials/cplusplus/index.php\n\nEach tutorial has source code downloads for Visual C++ at the bottom of the tutorial page.
639220
When you highlight it, be sure you did a cut or copy.  Try using "Ctrl + C" for copy, and "Ctrl + X" for cut.
794092
use MSPAINT Application for this.\n\non run command write mspaint>>enter\n\nor start>>programs >>accissblity >>paint
142557
you would need a compiler.. I assume your writing a visual basic program..\nThe easiest to do it is to use EXCEL assuming you have excel... You have to look in the macro area in tools bar. There is a visual basic editor!\n\nBut if your planning to program a program*, you can use Microsoft Visual Studio to do so... It costs money thou! GEt an educational copy (free).\n\nThe excel way is free... if you have office excel..
152380
This is a great place, to start..\nhttp://msdn.microsoft.com/vstudio/express/visualC/default.aspx