Beginners - December 2013 (Page 34)

sorting list in ascending order
 
hi all if i want to sort my list in ascending order how can i do it #ifndef ORDLIST_H #define ORDLIST_H #include<iostream> using namespace std; te...
Dec 12, 2013 at 12:36am
[3 replies] Last: Here's the example you're looking for: http://www.brpreiss.com/books/o... (by yulingo)
Nested for loops!
 
I'm having troubles understanding how this program works.. I didn't make this program, it was given as study material for an upcoming test! I was hoping that s...
Dec 12, 2013 at 12:25am
[3 replies] Last: For a while I thought that after the first IF statement you would move... (by potatoeSalad)
Reading numbers from strings
 
Just need help getting started on my assignment. Never tried this procedure before but is it possible I can store numbers in strings and read numbers from strin...
Dec 11, 2013 at 11:53pm
[10 replies] Last: "red pandas." As you said so, I did fix that getline and used the cin... (by fahmankhan75)
Blackjack C++
 
Hello, I am making a blackjack simulation game in C++. I am currently working on the part of the program that lets a player split his card. Before playing a...
Dec 11, 2013 at 11:49pm
[1 reply] : As for the immediate reason for crash: Lines 198-204: if (split == 0)... (by JockX)
Array project
 
I have an array assignment for beg. programming, but he did not give any instructions, or explanation of purpose of the program. Just a list of C++ logic. I get...
Dec 11, 2013 at 11:09pm
[4 replies] Last: jstew07 - have you used C++ before? You forgot quite a few things. Fi... (by MatthewRock)
Sentinel Loop
 
Write a program to process weekly employee time cards for all employees of an organization. Each employee will have three data items: the employee's name, the h...
Dec 11, 2013 at 10:59pm
[5 replies] Last: huh... im confused. for some reason the overtime wage was actually cal... (by vincent0777)
Help with allegro.
 
Any tips on how i should start Allegro... I have the bin/include/lib files but i need help to start out with it! #include <allegro.h> ~ Thanks ...
Dec 11, 2013 at 10:57pm
[3 replies] Last: A ton of tutorials: https://www.youtube.com/watch?v=IZ2krJ8Ls2A The A... (by Mats)
Debugging
 
Hi. I am having difficulty with seeing or interpreting the errors in this program. Any help with showing how/what needs to be fixed would be appreciated! Tha...
Dec 11, 2013 at 10:52pm
[5 replies] Last: More info if you're interested. http://stackoverflow.com/questions/47... (by booradley60)
error unresolved external symbol
 
hi all i have big problem can you help me please , i have a dynamic list //ordlist.h #ifndef ORDLIST_H #define ORDLIST_H #include<iostream> using nam...
Dec 11, 2013 at 10:20pm
[5 replies] Last: Thank you all now its working but i have question if i want to asce... (by mohammed1112)
study guide help
 
So, I have a final to take for C++ tomorrow and I have a few questions on the study guide that I can not figure out, if anyone can give me some answers to them ...
Dec 11, 2013 at 9:58pm
[8 replies] Last: Arg. Sorry http://www.cplusplus.com/doc/tutorial/arrays/ (by i like red pandas)
by Xesna
Classify Numbers Again?
 
This code was given to me by swejnc , but with some modifications 'cause I'm trying to display every number the user inputs (to which I haven't figured how to ...
Dec 11, 2013 at 9:54pm
[1 reply] : You'll have to store the numbers in an array or a vector which you the... (by yulingo)
Arrary Coding
 
If anyone can help i am unsure how to make an array for the months so that when you input the number the actual month is put out in its place. ??? #inclu...
Dec 11, 2013 at 9:43pm
[4 replies] Last: You'll have to add some code. and you're probably better off writing a... (by yulingo)
How do I write my own min and max functions?
 
I know I need to use a for loop and compare it to each item in my array, but I am unsure how to set the min and maximum by doing this. All I have right now is t...
Dec 11, 2013 at 9:40pm
[2 replies] Last: My instructor helped me a lot on this but I was also told this. Thanks... (by Emma Naylor)
Stack error on variable corrupted? explaination please
 
Stack around the variable storehighlowtemp corrupted. First of all, what does this error even mean? To start of I have made a two dimensional array that will s...
Dec 11, 2013 at 9:35pm
[3 replies] Last: If you are trying to represent months from 1 to 12 with an array with ... (by yulingo)
Pseudocode for a game
 
Hi! The game is a guessing game. Computer outputs a riddle, player inputs the answer. My question is, should I use conditional statements or create a loop fo...
Dec 11, 2013 at 9:09pm
[3 replies] Last: Thank you! That really helped! (by closed account L6Rz8vqX)
User input to determine the head of linked list
 
I need to create a program where the user is asked to enter two chars which will represent a starting node and and ending node, the program is then supposed to ...
Dec 11, 2013 at 8:51pm
[8 replies] Last: Not sure how the program should be set up but right now the reason you... (by heebleworp)
Arrays homework question
 
I'm writing a program for class where employee names and pays are read from an input file into arrays. How would I go about writing the code to get this functio...
Dec 11, 2013 at 8:32pm
[3 replies] Last: I had a bad edit in there for a couple seconds, make sure you look at ... (by booradley60)
by ngc64
Error LNK2019 and truncation (tips?)
 
Can someone tell me where I am going wrong? I have been researching the Error LNK 2019 and I know what that is but I have tried changing the definitions and I c...
Dec 11, 2013 at 8:17pm
[2 replies] Last: Thank you so much. I knew it was something simple I was overlooking! (by ngc64)
The differences between a++ and ++a
 
Hello everyone,I would like to ask a question here.What are the differences between a++ and ++a? do{ a++; cout<<a; }while (a < 5); /...
Dec 11, 2013 at 7:32pm
[10 replies] Last: cire you're right: It was a cut and paste error. Thanks for catching ... (by kooth)
Using main to immediately call another function?
 
Is it okay to use main as just the entry point and immediately skip to another function? Here's an example of what I mean. #include <iostream> using namespac...
Dec 11, 2013 at 7:27pm
[2 replies] Last: I would say no personally, but if you make the other function at least... (by kevinkjt2000)
December 2013 Pages: 1... 3233343536... 69
  Archived months: [nov2013] [jan2014]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.