Beginners (Page 5)

Using ofstream with structs
Hello all, thank you for taking your time to view this issue. I am currently reading in a .csv file ...
[no replies]
Array of Structs with Functions inside Struct Def
I am getting the vast majority of the errors in the piece of code below. They are pertaining the var...
[1 reply] : Well I solved that by adding constructors but now I am getting the err... (by JoJodoggy1)
i have no clue what to do here. please help.
Create a CharConverter class that performs various operations on strings. It should have the follow...
[no replies]
can someone explain why (char - 'A' + key) % 26 + 'A' works for the caesar cipher?
i had to make a program using a caesar cipher and i did that but the only thing i had to google caus...
[2 replies] Last: thank you, i understand what the formula does now (by idknuttin)
Having trouble outputting correctly.
I have to write a program that takes an input file formatted like this. FR3D,jones,123456-7891,12...
[2 replies] Last: As for outputting it to a file, I would suggest creating a string vect... (by FSM Worshipper)
Help required
I keep getting errors while trying to write this program, the code is below. Help on what I am doing...
[4 replies] Last: #include <iostream> using namespace std; int food() {double meat, fru... (by jasonwynn10)
by myName
Get ip and Check in the database (MySQL)
Hello everybody, I'm trying to make a system to check that the user ip exists in the database, but ...
[5 replies] Last: That particular error comes from trying to use + to concatenate to C-s... (by Zhuge)
by clodi
random_shuffle not working?
This line of code is giving problems.. random_shuffle( buffer[ 0 ],buffer[ NSITES - 1 ] ); in ...
[2 replies] Last: thanks a lot!! it worked! (by clodi)
by njas1
Need Help
I am a beginner and need help with this program. i dont know where to start, if you all can help me ...
[2 replies] Last: ok here it is i have tried... i dont know what to do next // main.c... (by njas1)
Splitting a character array into strings to a certain character.
Is there a way to split a character array filled like this. Hello,how,are,you and split it int...
[1 reply] : (by LB)
fstream / ios::binary mode questions
I am unsure about what the purpose of ios::binary is. Can someone please explain this to me. I ask b...
[4 replies] Last: All files are 'binary files'. There's nothing different from one file ... (by LB)
by r0bot
very basic: scanf()
Dear Forum, it is very basic calculation of adding two numbers. when I enter 1 2 I get the result ...
[4 replies] Last: Hi, Also, one should make use of the return value from scanf so one... (by TheIdeasMan)
Flat 3D array
I have been stuck on this task for quite a while. I need to extend my 2d flat array to 3d. I know th...
[5 replies] Last: Use your 2D allocator inside the 3D allocator: double *** aloc3df(int... (by dhayden)
by Alahrs
Initialization of variables
Hey, is there any difference between these three options? In java I only used the '=' one. int x...
[4 replies] Last: Thank you for your time explaining it to me. Really appreciate it! (by Alahrs)
How to save information in program and user can use it when he exit the program and Run again. . .
My question is how can i save the information & use again after exiting the program and Run it again...
[3 replies] Last: Untested: #include <iostream> #include <fstream> #include <string> in... (by LB)
Fishing Game
Good Afternoon everyone. I have been working on a fishing game that bases your caught fish off of a ...
[4 replies] Last: You would want a while loop around lines 34 and 35. Your do loop a... (by AbstractionAnon)
by sdl517
newbie correct if/else statement argument??
Hi! I am an ultra beginner at c++, and am trying to teach myself. I have created a problem and am ...
[2 replies] Last: Thanks so much!! Got it to work! (by sdl517)
Help with Menu
Ok I have to create a program with a loop and switch that has 4 options. Write a name to file, Read ...
[1 reply] : This is what you get for declaring multiple variables per statement. ... (by MiiNiPaa)
Error with a Function Return
I was assigned to write a program that would calculate the total cost of installing carpet. I had th...
[1 reply] : installprice(length, width, costpersqft); cout << endl ... (by MiiNiPaa)
Undefined Reference
Hello guys. I'm doing a practical work and i had to make a shorter path algorithm. I coded everyt...
[2 replies] Last: OMG, i can't believe i'm so stupid. Thank you for your help. BTW, the... (by Fedelway)
Pages: 1... 34567... 131
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.