Beginners (Page 4)

Building Lot Are with functions (1,2)
I was wondering if this looks about right? I'm starting to get the hang of C++ but I need someone t...
[25 replies] Last: Can you show the full completed code please? (by mockman23)
Pointers and Arrays Question
I dont know why the average is not popping up it says 0.00 i still can't find a mistake or what i di...
[1 reply] : Line 42, 44 : Use count as index instead of numTestScores .... (by tcs)
User-defined functions
It errors. Error 1 error LNK2019: unresolved external symbol "char __cdecl price(char,int)" (?pric...
[3 replies] Last: Fix your forward declaration to char price(char sprice , int slength)... (by tcs)
My code works as is, but how do I use the constructor?
Here is my code so far: megatron.h - In namespace megatron::utility template <class T> cla...
[11 replies] Last: > My next thought would be including a static vector to the megaptr cl... (by JLBorges)
Search name(String Manipulation)
Desired Output: Enter n: 2 Please input 2 names: Ana Ina Ana Ina Enter name to search: Ana An...
[16 replies] Last: I'm a total newbie so thank you for helping me ^^ (by Vandalism)
by msrt92
Stack in array
i want to create public variable .. #include<iostream.h> //#define maxSize 5; str...
[2 replies] Last: sorry I'm not creating function for top... I m creating global variab... (by msrt92)
Back to diamond problem
I want to keep the outside stars only and remove the inside diamond shape to be like * ...
[7 replies] Last: Thank you, Sir. (by Eslam Elmishtawy)
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)
Pages: 123456... 130
  Archived months: [sep2014]

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