Hey that works perfect!
Thanks
Type: Posts; User: BigSter
Hey that works perfect!
Thanks
Okay this is what I have now:
#include <iostream.h>
#include <stdlib.h>
#include <string>
using namespace std;
int main()
Could you give me an example?
Thanks
Hi,
I'm writing a text editor program, but I need the enter key to go down a line instead of entering in data. Does anyone have any ideas? This is what I have:
#include <iostream.h>
#include...
Hi,
I need to have my program recognize the space key. For example if I typed in "Hello Everyone", my program reads back "HelloEveryone". This is a simple example of what I am doing:
#include...
Hey,
I am trying to make a simple word processing program. I would like to use something like this:
char a_char;
a_char=getche();
but I need it to be able to read spaces. Does anyone have...
Hi,
I've been programming MS-DOS programs with C++ on DEV-CPP for about a year. I am looking to move on to Windows. Can anyone suggest a good tuitorial website or book?
Thanks
This is what I use with Bloodshed:
#include <stdlib.h>
#include <iostream.h>
#include <string>
using namespace std;
int main(){
string name;
Okay,
I made this program:
#include <stdlib.h>
#include <iostream.h>
int main(){
while(1){
int keystroke;
Hey,
I am making a simple menu program in the DOS Console. I've got the whole program to work exept for I have to use w and x for up and down. I was wonder what were the characters for the...
You could go:
#include <iostream.h>
#include <stdlib.h>
int main()
{
cout<<"Hello World!"<<endl; //Prints Hello World on Screen
system("PAUSE"); //Produces the...
I just started programming about a year ago. I would suggest downloading Bloodshed's Dev-C++ Compiler. I does C, C++, and some Windows. You can download it at:
...
Works perfect!
Thanks
Hi,
I have a program where I need the user to input the filename to be deleted.
This is what I have so far:
#include <iostream.h>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>...
Okay,
I am trying to get this program to read all contents of a text file and then print it. I have a file called tanner1.txt already made. The program only opens up and never gets through the...
Okay,
This is what I used that works:
#include <iostream.h>
#include <stdlib.h>
#include <fstream.h>
#include <iostream.h>
#include <windows.h>
#include <conio.h>
Hi,
I need to create a new file and then name it a number.
I would be using ofstream()
Thanks
Hey I'm using ifstream to read a file, but I need to read and print all the contents of a file.
for instance:
ifstream inl(filename.c_str());
inl>>stuff;
cout<<stuff<<endl;
Hey Thanks
Hey,
I am making a program where the user is asked what filename he wants to open.
This is what I have:
cout<<"Enter File Name"<<endl;
cin>>filename;
ifstream inl(filename.txt);
That works perfect!
Thanks
Hi,
I need a program to pick a random number between two values.
Like:
int randomnumber;
0< ramdomnumber <10;
cout<<randomnuber;<<endl;
Thanks
Hey does anyone know where I can find the most common Windows Function and maybe a tutorial?
Thanks
Hi, I am making a Browse Button in an Win 32 API using MSV++. I've got the button made, but I was wondering if anyone knew the code for it.
Thanks
// BlastIt message handlers //My dialog...
Thanks