December 1st, 2010, 12:25 PM
I am not going to type in all my code, but when I run the program it reads the last char twice.How can I fix it thank you
void main()
{
ifstream fin;
ofstream fout;
string temp;
November 24th, 2009, 01:11 AM
Ok .. I am doing the first while loop wrong but I dont know what is wrong I am just asking for a little help for the while loop you dont have to tell me the code..I just need some help with it..And I...
November 22nd, 2009, 11:09 PM
#include <fstream>
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
char question[20][5];
int main()
{
ofstream fanswers, fcorrect_keys;
November 21st, 2009, 10:47 PM
I think I am doing something wrong in the while loop
November 20th, 2009, 01:16 PM
actually I wrote my code and I know what I did wrong only I dont know how to change it.
November 19th, 2009, 11:14 PM
I need to write a program using arrays and strings.Here is the question.
A class of students takes a 20 question multiple-choice exam;each question has 5 choices(a,b,c,d,e)only one of them are...