I use Microsoft Visual C++ 6.0.
Answer only if you are sure please!
Thank you.
Do you know where can I download a free chat artificial intelligence program in C++ language?
I am absolutely sure, one hundred percent certain, without a doubt, that the best thing for you to do is search Google and SourceForge. If something along those lines exists, you will find it there.
Rawlyn.
Monday, May 24, 2010
Whats a good instructional site that teaches you how to code in C#?
I wanna learn Microsoft Visual C#
Thanks in advance! :D
Whats a good instructional site that teaches you how to code in C#?
There are several sites that offer some good examples, tutorials, tips, etc. Here are a few of my favorites :
http://www.c-sharpcorner.com/Articles/Ar...
http://www.csharpfriends.com/Articles/ge...
Oh yeah - I guess we should include one from the "creators"
http://msdn2.microsoft.com/en-us/vcsharp...
I would also recommend getting a good book on it - Deitel, Murach, and a few others publish some good ones.
Good luck, and happy coding : )
carnation
Thanks in advance! :D
Whats a good instructional site that teaches you how to code in C#?
There are several sites that offer some good examples, tutorials, tips, etc. Here are a few of my favorites :
http://www.c-sharpcorner.com/Articles/Ar...
http://www.csharpfriends.com/Articles/ge...
Oh yeah - I guess we should include one from the "creators"
http://msdn2.microsoft.com/en-us/vcsharp...
I would also recommend getting a good book on it - Deitel, Murach, and a few others publish some good ones.
Good luck, and happy coding : )
carnation
How can I solve a problem which i am facing in C++ File handling? Please read further...?
Consider the following program,
void main ()
{
int productno;
char productname[12];
ofstream fout(product.txt);
for(int i=0; i%26lt;5; i++)
{
cout%26lt;%26lt;"Enter product no %26amp; name \n";
cin%26gt;%26gt;productno%26gt;%26gt;produtname;
fout%26lt;%26lt;productno; cout%26lt;%26lt;"\t"
fout%26lt;%26lt;productname; cout%26lt;%26lt;endl;
}
fout.close ();
}
using this program, we can write product no %26amp; name for 5 products in text file. After that, if i open that file in Windows, the condents of that file will be in unreadable format with some symbols. How can solve this problem. I am using Microsoft Visual C++. Please help me... Thanks in advance....
How can I solve a problem which i am facing in C++ File handling? Please read further...?
I'd be wary of the logic in the program above. It doesn't look helpful to me.
It sounds like you are either writing to a binary file, which I doubt, or you have string problems. Are you typing in product names that are longer than 11 characters? If so, that could easily explain your trouble. Make productname 100 characters long, and see if that solves the problem.
Reply:Sorry I don't have a C++ compiler installed at work (as I work in Java) but give this a try...sorry if there is an error...as I do not have a compiler...but it should be much better then what you were doing there were multiple problems that I saw...I had to break the cin up because yahoo! replaced some of it with "..."
#include %26lt;iostream%26gt;
#include %26lt;fstream%26gt;
#include %26lt;cstdlib%26gt;
using std::ofstream;
using std::namespace;
using std::ios;
void main ()
{
int productno;
char productname[12];
ofstream fout("product.txt", ios::out);
for(int i=0; i%26lt;5; i++)
{
cout%26lt;%26lt;"Enter product no %26amp; name \n";
cin%26gt;%26gt;productno
%26gt;%26gt;productname
fout %26lt;%26lt; productno %26lt;%26lt; '\t' %26lt;%26lt; productname %26lt;%26lt; '\n';
}
return 0;
// Unnecessary because the ofstream destructor closes file fout.close ();
}
Also...as the commenter listed a learyness of logic...I did not change your logic within my code. I just added some basics...I made no logic changes.
void main ()
{
int productno;
char productname[12];
ofstream fout(product.txt);
for(int i=0; i%26lt;5; i++)
{
cout%26lt;%26lt;"Enter product no %26amp; name \n";
cin%26gt;%26gt;productno%26gt;%26gt;produtname;
fout%26lt;%26lt;productno; cout%26lt;%26lt;"\t"
fout%26lt;%26lt;productname; cout%26lt;%26lt;endl;
}
fout.close ();
}
using this program, we can write product no %26amp; name for 5 products in text file. After that, if i open that file in Windows, the condents of that file will be in unreadable format with some symbols. How can solve this problem. I am using Microsoft Visual C++. Please help me... Thanks in advance....
How can I solve a problem which i am facing in C++ File handling? Please read further...?
I'd be wary of the logic in the program above. It doesn't look helpful to me.
It sounds like you are either writing to a binary file, which I doubt, or you have string problems. Are you typing in product names that are longer than 11 characters? If so, that could easily explain your trouble. Make productname 100 characters long, and see if that solves the problem.
Reply:Sorry I don't have a C++ compiler installed at work (as I work in Java) but give this a try...sorry if there is an error...as I do not have a compiler...but it should be much better then what you were doing there were multiple problems that I saw...I had to break the cin up because yahoo! replaced some of it with "..."
#include %26lt;iostream%26gt;
#include %26lt;fstream%26gt;
#include %26lt;cstdlib%26gt;
using std::ofstream;
using std::namespace;
using std::ios;
void main ()
{
int productno;
char productname[12];
ofstream fout("product.txt", ios::out);
for(int i=0; i%26lt;5; i++)
{
cout%26lt;%26lt;"Enter product no %26amp; name \n";
cin%26gt;%26gt;productno
%26gt;%26gt;productname
fout %26lt;%26lt; productno %26lt;%26lt; '\t' %26lt;%26lt; productname %26lt;%26lt; '\n';
}
return 0;
// Unnecessary because the ofstream destructor closes file fout.close ();
}
Also...as the commenter listed a learyness of logic...I did not change your logic within my code. I just added some basics...I made no logic changes.
How can i open jpg files on MFC application in Visual C++?
I need to create a project using Microsoft Visual C++, using MFC, my project is about editing jpg files and converting them to other formats, so i need a class to open jpeg,jpg files and do some changes in them.
How can i open jpg files on MFC application in Visual C++?
You can use the IPicture interface with the OleLoadPicture() function. Linked below are documentation and an example of doing this.
Reply:I dont know.
How can i open jpg files on MFC application in Visual C++?
You can use the IPicture interface with the OleLoadPicture() function. Linked below are documentation and an example of doing this.
Reply:I dont know.
Help me to fix my msn messenger from error runtime c++ (R6025)?
when i try to sign in my msn messenger the error microsoft visual c++ Runtime library (R6025) appear on my screen,is there any free program can help me get rid of the error?please help
thank you
Help me to fix my msn messenger from error runtime c++ (R6025)?
Put de lime in de coconut
thank you
Help me to fix my msn messenger from error runtime c++ (R6025)?
Put de lime in de coconut
Anyone know how to fix a problem for my computer (c++ debug)?
Everytime I am on myspace or even my email I get a message, that says something about microsoft visual c++ debug library and something about assertion failure.. then i have to push abort and it kicks me off.. if i dont push abort it locks up... anyone know what this is or how to fix it? thanks.
Anyone know how to fix a problem for my computer (c++ debug)?
This issue can be caused by any of the following possibilities.
1. Hard disk drive is short on available disk space.
2. Several software programs have been installed/uninstalled leaving behind bad files and/or confusing the software.
3. Data Corruption.
4. Computer is overheating.
5. Bad Hardware.
Below are steps for Microsoft Windows that should help speed up the computer or determine why the computer is running slow.
1. If you have a hard disk drive that is 2GB or smaller, ensure that there is at least 200MB of hard disk drive space free. If you have a hard drive larger than this size, verify that there is at least 500MB of free hard disk space. This available space allows the computer to have room for the swap file to increase in size as well as room for temporary files.
2. Run Scandisk or something equivalent to help ensure that there is nothing physically wrong with the computer hard disk drive.
3. Run Defrag to help ensure that data is arranged in the best possible order.
4. Remove or disable any or programs that automatically start each time the computer boots.
5. Verify that the device manager has no conflicts, but if conflicts are present, resolve them.
6. If you have Windows XP try deleting all files in the prefetch directory. These are prefetch files and can lower system resources if loading programs no longer being used.
7. Try running through the basic troubleshooting steps for your operating system.
8. Make sure your computer and processor is not overheating, excessive heat can cause a significant decrease in computer performance some processors will even lower the speed of the processor automatically to help compensate for the heat related issues.
9. Finally, if none of the above solutions resolve your issues, it is recommended that you either reinstall Windows or erase everything and then start over.
Go to: http://tp5pro.com/registrycleaner.htm
This may help!
pansy
Anyone know how to fix a problem for my computer (c++ debug)?
This issue can be caused by any of the following possibilities.
1. Hard disk drive is short on available disk space.
2. Several software programs have been installed/uninstalled leaving behind bad files and/or confusing the software.
3. Data Corruption.
4. Computer is overheating.
5. Bad Hardware.
Below are steps for Microsoft Windows that should help speed up the computer or determine why the computer is running slow.
1. If you have a hard disk drive that is 2GB or smaller, ensure that there is at least 200MB of hard disk drive space free. If you have a hard drive larger than this size, verify that there is at least 500MB of free hard disk space. This available space allows the computer to have room for the swap file to increase in size as well as room for temporary files.
2. Run Scandisk or something equivalent to help ensure that there is nothing physically wrong with the computer hard disk drive.
3. Run Defrag to help ensure that data is arranged in the best possible order.
4. Remove or disable any or programs that automatically start each time the computer boots.
5. Verify that the device manager has no conflicts, but if conflicts are present, resolve them.
6. If you have Windows XP try deleting all files in the prefetch directory. These are prefetch files and can lower system resources if loading programs no longer being used.
7. Try running through the basic troubleshooting steps for your operating system.
8. Make sure your computer and processor is not overheating, excessive heat can cause a significant decrease in computer performance some processors will even lower the speed of the processor automatically to help compensate for the heat related issues.
9. Finally, if none of the above solutions resolve your issues, it is recommended that you either reinstall Windows or erase everything and then start over.
Go to: http://tp5pro.com/registrycleaner.htm
This may help!
pansy
How do I create a crossword in 'C' language?
Hi,
As part of a project, I have to create a basic crossword in Microsoft Visual C++ but I cannot find any links to help me out! I would be really greatful if you could point me in the right direction...
Thanks!
How do I create a crossword in 'C' language?
may be this site help u...
http://www.codeproject.com/info/search.a...
As part of a project, I have to create a basic crossword in Microsoft Visual C++ but I cannot find any links to help me out! I would be really greatful if you could point me in the right direction...
Thanks!
How do I create a crossword in 'C' language?
may be this site help u...
http://www.codeproject.com/info/search.a...
Subscribe to:
Posts (Atom)