well then i guess i will need to change it to an array/string
thanks
Type: Posts; User: Wanted420
well then i guess i will need to change it to an array/string
thanks
O yeah the ID output is not what i inputted :(... it gives me 756 i think everytime i enter 0136499 but if i just put 136499 i get 136499. so why cant i have the 0? is it to long of a number?
Here is all of my code. i some what got it to work now. the output is at the bottom.
#include "stdafx.h"
#include "iostream.h"
#include "string.h"
#include "stdlib.h"
#include "fstream.h"
for some reason it skips the input line for first name. i have tried using cin.getline(fname, 20, '\n') and cin.ignore() but niether fix the problem. :( thanks for any help
int...
Sorry about crappy subject but not sure how to describe this.
Can anyone tell my how i would check to see with the explorer ftp command worked?...i know if you have a wrong username or password it...
O ok lol
can u explain a little more? I am reading about threads so if you could just go a little more in depth about it that would be great. thanks
Now can anyone tell my how i would check to see with the explorer ftp command worked?...i know if you have a wrong username or password it pops up with a login screen and i want to know if it poped...
Now can anyone tell my how i would check to see with the explorer ftp command worked?...i know if you have a wrong username or password it pops up with a login screen and i want to know if it poped...
Ok thanks guys and Ken Fitlike i did change it and when i couldnt figure it out i decided to copy and paste and i got some diff errors so i wasnt sure what was wrong...but i think i understand it...
Hey i just wanted to say thanks for all the info.
why do i keep reading about not using .h at the end of the #include <whatever.h>?
i am using Microsoft Visual studio 6 and when i take out the .h i get this error:
c:\program files\microsoft...
Ok i have read the MSDN and looked at some tuts but i am still having problems. I just copied and pasted what the MSDN stuff said and i dont get the same errors but i get these now:
C:\Program...
does anyone know how to end a process??? i thought i had it and got these errors:
C:\Program Files\Microsoft Visual Studio\MyProjects\ftp\ftp.cpp(49) : error C2664: 'GetExitCodeProcess' : cannot...
Thanks for the help but when i added the do while loop like u had it and change the " " to what i wanted and tried to cout the var pass it didnt output anything but a blank line. BTW does anyone know...
Ok here is my code (i am doing this just for fun and for my own computer)
#include "stdafx.h"
#include "iostream.h"
#include "stdlib.h"
#include "stdio.h"
#include "fstream.h"
#include...
Ok i figured out how to point to a file on my computer to read from. But i am still looking to find out how to read line after line. thanks for any help
Do you have to output to a file first and then input from it? Or can you just tell the input to point to a location for the file? Also since i am already here. How can i get it to read a line, check...
how would i input a string with spaces?
thank you
How can i create multiple folders with the name of the folders being an inceased int starting at 1 and up to 144? I know i need to set up a loop but i dont know how to create a folder.
If I have a database and I dont know how many entries I am going to have is there a way to set it up where it wont matter how many entries i have? Sorry if i didnt explain it right. Also is a way...
ok thanks.
My program is a register for a photo guy and it sets an id for each customer and i need it to create a folder named id(001,002..ect) and when the user wants to see pictures of a certain customer they...
Is there a way to get c++ to make a folder and with in that folder have a txt file? If so is there a way to get the folder to open when the user does something? Thanks for help. Any tutorials on...