Beginners - November 2015 (Page 41)

Values in array aren't printing right
 
I have a project where i'm supposed to input a list of values in an array and print them. My prints ...
[8 replies] Last: Oops!! Sorry!!! Won't happen again! (by etsuper258)
do while loop with case
 
how can i loop this case, and prompt the user for for everything again, i should do more case but i...
[7 replies] Last: @ JayZom No need for apologies, it's all good :+) I would recommend... (by TheIdeasMan)
I'm wondering if this is an acceptable way of doing things...
 
To put it simply, I have a small program with these structs: struct Student { int id; str...
[4 replies] Last: Ah, now I realize that you want to find the number of grades of EACH s... (by Kevin C)
overloading subscript operator (return typ)
 
I know that a return value is not enough to override a function, but is there a way to overload the ...
[5 replies] Last: Can you provide an exaple describing what exatly do you want to do wit... (by Kevin C)
Sort Each Row of 2D Array in Ascending Order
 
Hello all! I have a 2D array of doubles that needs each row sorted in ascending order. So if m...
[2 replies] Last: Can you use std::sort or do you need to implement your own algorithm t... (by JayhawkZombie)
Help me with my task
 
Task 1 Ulam spiral Implement a C++ program which describes the drawing process of an Ulam spiral....
[2 replies] Last: //A program which describes the drawing process of an Ulam spiral #inc... (by mishka005)
_kbhit() Question
 
I've just heard about _kbhit() and I don't know how to use it the right way. How I should write my c...
[8 replies] Last: It also works with _getch() Thank you (by cristicristi8160)
Help with my code please!
 
Create a new .cpp program that reads the data from this file using a while-loop. Call your program y...
[8 replies] Last: Took me a couple of seconds to spot the error this time, but without u... (by ShiftLeft)
by bastri
Doubt about const used in member functions.
 
In some cases we have "const" in two differents parts of the function 1) const char *Leer...
[3 replies] Last: If by parameter you mean the object that the function is being called ... (by Peter87)
by bastri
Doubt about why to use pointer* &array
 
Hi I have a doubt with a program that I created to still learning c++. In this program,after a lo...
[4 replies] Last: Thanks a lot (by bastri)
Hash functions
 
So in my C++ book, it teaches how to create a simple hash function for use with a basic hash map con...
[2 replies] Last: For extra fun, it could also have been written i[(unsigned char*)&key... (by Duthomhas)
A basic question about output of decimals
 
It seems very puzzling to me, but this simple code returns 0 and not 0.27. What am I doing wrong? ...
[3 replies] Last: This answer on StackOverflow quotes a small portion of the C++ standar... (by kevinkjt2000)
Measurement points task.
 
Hello! So basically my task is to make a program that handles measurements of the water height at d...
[1 reply] : Your program shouldn't even compile, unless your using a compiler spec... (by jlb)
Help with getting double value to work in functions
 
Need to write conversion code using functions, but computer returns integers and not double values. ...
[1 reply] : Perhaps you need to review your textbook for information about functio... (by jlb)
What can you do without including anything?
 
This question can seem silly but I can't formulate it any other way and I have not found a consice a...
[3 replies] Last: What can you do without including anything? Answering the question l... (by andywestken)
VC++ 2010 Crashes when I debug my program
 
I have an assignment for my beginner's programming class to create a craps program, I have finished ...
[no replies]
An error
 
It says uninitialized local variable 'inputNum' used as an error on the first activity. How can I fi...
[1 reply] : int main() { cout << "Trung Pham. \n"; cout << "\nActivity 1 \n====... (by JayhawkZombie)
by kdrews
Vector code help
 
I am new to c++ and I trying to write a code using vectors to display numbers ,in between 10 and 101...
[1 reply] : In your main() you don't pass a parameter to Vector::fillVector(), eve... (by magnum pi)
PROJECT C++
 
Hi everyone..I'm new to C++ programming..i have this project which require me to connect Dev C++ to ...
[1 reply] : What do you mean by connect to another program and what is the value y... (by ShiftLeft)
November 2015 Pages: 1... 3940414243... 53
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.