Does anyone know the keystrokes to turn on word wrap in the VC++ 6 ide?
Cpudood
Posts
-
word wrap -
Word wrapDoes anyone know the keystrokes to turn on wrap in the VC++ 6 ide?
-
Command line input with assemblyAbout two hours ago I came up with the brilliant idea to create a console app that will compare files and their attributes. I got the psedocode all mapped out and then wondered how i'd get the "dir" command to run from the command line executed from within my code. I've heard of a GetCommandLine function, but I can't seem to find enough on it, such as what types of arguments it accepts and what .lib and header files to link and include. If you know of any good links or have a remedy to my problem it would be appreciated.
-
Command line input with assemblyAbout two hours ago I came up with the brilliant idea to create a console app that will compare files and their attributes. I got the psedocode all mapped out and then wondered how i'd get the "dir" command to run from the command line executed from within my code. I've heard of a GetCommandLine function, but I can't seem to find enough on it, such as what types of arguments it accepts and what .lib and header files to link and include. If you know of any good links or have a remedy to my problem it would be appreciated. :->
-
Command Line LoopI'm trying to come up with a way to loop "strings as statements" back to the "Real Mode" command line interpreter. Any ideas?
-
64-Bit Assembly?I started programming in C about 3 years ago. Close to a year later I had dropped out of college and soon became bored with the language. Knowing that computers run the world, I didn't stop my quest for knowledge and soon stumbled upon Assembly. Wow! This language got me in gear seeing that, not only did you have to know syntax, you had to understand the hardware upon which the software you created. It was instant love, a true techy's dream language. I found two great textbooks(listed at end of article) and was on my way. Although I was totally psyched about my new venture, I began to acutally use my brain and pondered upon three numbers. 16,32, and 64. With the advent of the 64-bit chip and software development headed towards 64-bit architecture, I asked myself would assembly language fall by the waistside, while High Level Language counterparts dominated the programming world? Would it be worth the commitment to continue studying assembly up to and possibly beyond win32 programming? Better yet, would assembly adapt just as other languages would have to? Texts -The 80x86 IBM PC and Compatible Computers Vol I & II Assembly Language, Design, and Interfacing(Mazidi) -80x86 Assembly Language and Computer Architecture(Detmer) One cocerned programmer!
-
Help for a New programmermaybe you should try acquiring each number one at a time within your void function. Also, what are you including?
-
Console runtime null variablesIf I have a simple program that multiplies a user specified number of integers, how can I get the program to generate the same amount of corresponding, integer data type variables? Or, better said, how do you create null variables during runtime?
-
C++ question// This program is a test to verify whether or not the theory illustrated // in Digital Fundamentals pg60 of 32 bit binary number recognition, is // applicable with regards to an AMD 1.4 Ghz processor. #include #include #include using namespace std; int mantissa; int max_integer=0; int temp=0; int main() { mantissa = 30; while(mantissa!= -1) { temp = pow(2,mantissa); max_integer = max_integer + temp; --mantissa; } cout<
-
Win95 OSR2It has been stated as a fact from AMD, that chips with a speed greater than or equal to 300Mhz conflict with Win95 OSR2. Explicitly, the boot process yields the message, "While Initializing Device IOS: Windows Protection Error. You Need to Restart Windows". This is the message I recieved after a clean install of 95 with a K6-2 500Mhz processor. I did get 95 to boot by clocking the chip down to 166Mhz. I then tried to install the chip update from AMD's web but recieved a message about a Restriction error. The details of the error are as follows: caused an exception c0000006H in module at 0000:bff832f3. Registers: EAX=20040000 CS=0137 EIP=bff832f3 EFLGS=00010206 EBX=01047000 SS=013f ESP=827e4c84 EBP=827e4cb4 ECX=81789200 DS=013f ESI=0000100d FS=0da7 EDX=c10d1700 ES=013f EDI=0100d000 GS=0000 Bytes at CS:EIP: 08 0f 6a 00 6a 01 56 68 0d 00 01 00 e8 d0 e0 fe Stack dump: 20040000 000002bb 00000014 81789064 00000050 00000003 00000000 00000003 00000000 00000000 00000001 817892bc 827e4e00 bff85528 00000014 00000000 The only conclusion this message gives me is that the K6 and K6-2 register and stack architecture don't coincide. How can I get the processor to run at 500Mhz?
-
Win95 OSR2 / AMD issueIt has been stated as a fact from AMD, that chips with a speed greater than or equal to 300Mhz conflict with Win95 OSR2. Explicitly, the boot process yields the message, "While Initializing Device IOS: Windows Protection Error. You Need to Restart Windows". This is the message I recieved after a clean install of 95 with a K6-2 500Mhz processor. I did get 95 to boot by clocking the chip down to 166Mhz. I then tried to install the chip update from AMD's web but recieved a message about a Restriction error. The details of the error are as follows: caused an exception c0000006H in module at 0000:bff832f3. Registers: EAX=20040000 CS=0137 EIP=bff832f3 EFLGS=00010206 EBX=01047000 SS=013f ESP=827e4c84 EBP=827e4cb4 ECX=81789200 DS=013f ESI=0000100d FS=0da7 EDX=c10d1700 ES=013f EDI=0100d000 GS=0000 Bytes at CS:EIP: 08 0f 6a 00 6a 01 56 68 0d 00 01 00 e8 d0 e0 fe Stack dump: 20040000 000002bb 00000014 81789064 00000050 00000003 00000000 00000003 00000000 00000000 00000001 817892bc 827e4e00 bff85528 00000014 00000000 The only conclusion this message gives me is that the K6 and K6-2 register and stack architecture don't coincide. How can I get the processor to run at 500Mhz?
-
Win95 OSR2 / AMD issueIt has been stated as a fact from AMD, that chips with a speed greater than or equal to 300Mhz conflict with Win95 OSR2. Explicitly, the boot process yields the message, "While Initializing Device IOS: Windows Protection Error. You Need to Restart Windows". This is the message I recieved after a clean install of 95 with a K6-2 500Mhz processor. I did get 95 to boot by clocking the chip down to 166Mhz. I then tried to install the chip update from AMD's web but recieved a message about a Restriction error. The details of the error are as follows: caused an exception c0000006H in module at 0000:bff832f3. Registers: EAX=20040000 CS=0137 EIP=bff832f3 EFLGS=00010206 EBX=01047000 SS=013f ESP=827e4c84 EBP=827e4cb4 ECX=81789200 DS=013f ESI=0000100d FS=0da7 EDX=c10d1700 ES=013f EDI=0100d000 GS=0000 Bytes at CS:EIP: 08 0f 6a 00 6a 01 56 68 0d 00 01 00 e8 d0 e0 fe Stack dump: 20040000 000002bb 00000014 81789064 00000050 00000003 00000000 00000003 00000000 00000000 00000001 817892bc 827e4e00 bff85528 00000014 00000000 The only conclusion this message gives me is that the K6 and K6-2 register and stack architecture don't coincide. How can I get the processor to run at 500Mhz?
-
String operationsI have inlcuded the data file as a part of the project workspace. I don't know if that is the current directory or not but I wouldn't know how to specify its location in the actual project.
-
String operationsI have tried this code segment on two different compilers receiving two different results. Using MSVC++6, the console reports that the file was not opened. C++.NET reports that the file was opened but none of the input data was displayed. What string operation do I need to use to output the contents of the file to the console? #include iostream #include fstream #include string using namespace std; string line1; string line2; string line3; string line4; ifstream inData; int main() { inData.open("data.dat"); if ( !inData) // Was file opened { cout<<"Could not open input file."; return 1; } else { cout<<"File was succesfully opened"<
-
FontSizeI was working in MS VisC++ Intro edition when my monitor went dead. Not having a spare around I decided to use a PC to TV device. I am using it on a 13". My problem is that when you use the system's, "Appearance",(Win98)tab to alter the look of the desktop, it increases all aspects of font size in an API but the window text. Can I insert some code in the root directory of IDE to supplement font size changes? If so, how?
-
Console Window PropertiesWhen running a console application how do you adjust the properties,such as text color or window position, of the console window? I have tried right clicking the window and using the properties submenus but nothing happens.
-
Console Window PropertiesWhen running a console application how do you adjust the properties,such as text color or window position, of the console window? I have tried right clicking the window and using the properties submenus but nothing happens.
-
Exponential OperatorHere is the code that I am working with; void balance(float pmt) { float bal_k; int k=1; float pay; float i=9/12; const int n=36; pay=pmt; bal_k=pay*(1-((1+i)^(k-n))/i) } When I compile, the compiler says that because the left hand operator of the "bal_k" expression is of type float that it is illegal. I tried forcing the expression "i" to type int but it becomes zero and then there is a divide by zero error. How can I get around this?
-
Console ApplicationsWhen working with console applications from within Visual C++.NET, How would I get the console window to stay open after the program has executed so that I may view the results of the code? Do you change these properties within Visual C++ or Windows?