Beginners (Page 84)

by Dazzer
Q about operator overloading and default constructors
Could someone please tell me why the code below doesn't compile? I'm specifically interested to kno...
[2 replies] Last: Oops, silly mistake, thanks! (by Dazzer)
Switch statement using objects that are members of other classes. (HELP VERY MUCH APPRECIATED)
Below I have a switch statement in a class called undergraduate that attempts to use objects of cour...
[4 replies] Last: I got my code working guys! Thanks so much for the responses! (by cher1201)
by Arquon
Exercise about time and lightyears
Spaceship speed = 200km/h, lightyears to travel = 5. Years it will take to travel = 27000000. I cant...
[4 replies] Last: distance == time * velocity <=> distance / velocity == time (by keskiverto)
Homework help?? Loops and Math
I have a homework assignment due tomorrow and I have a basic outline of the code for it, but when th...
[no replies]
by vkosty
Help with simple menu, trying to use if statement.
Hello, I am trying to create a simple menu using multiple if statements. I am not getting the result...
[2 replies] Last: thank you sir (by vkosty)
by TPL
Logical Operators Help [TCLite] [C++]
Here is my code for a project for school. Simply enter the number of hours worked in a day, and the ...
[2 replies] Last: Alright, thanks so much. I knew it was going to be a simple stupid thi... (by TPL)
by Arquon
Having trouble with getting int out of .txt
Hello, I need to get int out of .txt file, what I did, didnt work. I need to get 3 int out of it: 3...
[5 replies] Last: Thank you pearlyman. Theres one more question, how can I read files ti... (by Arquon)
by ali64x
map a key to different number of values
hi guys. I need to create a map such as : map<string, int> mymap; mymap["varchar"]=23,24,25,...
[4 replies] Last: Many thanks JLBorges. (by ali64x)
Objects as members of classes
So I am trying to write a class called undergraduate that takes an object of the Phone class as an a...
[4 replies] Last: thanks! (by cher1201)
Dice rolling function - comparing random number to a value does not work
Hi everyone! This is my first post here and actually my third tiny program that I am trying to writ...
[2 replies] Last: Thanks! Yes indeed that was a silly mistake they are all 0.. I just no... (by brownyeyes)
by mukdew
number is existing ?
Write your question here. how to make a program that show me if the number exists in the file text ...
[1 reply] : I would recommend you start by creating a main function, then take it... (by TarikNeaj)
use cout inside a function
How can I use cout inside a function to print out? #include <iostream> using namespace std; void...
[4 replies] Last: #include <iostream> using namespace std; void MaxorMin(int n, double... (by TarikNeaj)
fill vector pair from cin
I can't seem to wrap my head around this. My task is to get input from cin (using push_back) as a...
[2 replies] Last: I can't believe it was that easy. Thank you. (by big leigh bowski)
expected primary expression before else
hi, i keep getting an 'expected primary expression before else' error. not quite sure where the prob...
[2 replies] Last: Your code reminds me of python :) In C/C++ you need to wrap statement... (by Jaybob66)
File I/O
Somebody help me with my project. All of the options work except for the "delete" book option. Whe...
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
sum up all digits until a single digit is left
Problem solved!!! Thanks for all your help!!
[15 replies] Last: You are my lifesaver!!! Thanks!!! I am a social science student forced... (by lawgarra318)
change macro to valiable
Hello, I am trying to edit existing header file code of ethernet library, such that hostname ca...
[6 replies] Last: I was able to achive results. in dhcp.h //#define HOST_NAME "WIZn... (by technofreaks)
Need help with simple code question PLEASE (1,2)
Hi, I have a mid-term for my intro to programming course this thurs and was given an example of what...
[21 replies] Last: [quote=HellfireXP]I gave him a partial answer, so he would have enough... (by LB)
Help converting inputs.txt to outputs.txt (1,2,3,4,5,6,7)
Hi so i have my code written for the majority of what i am supposed to do but for some reason when i...
[126 replies] Last: Good on you phil. All the best - it looks great. Give my regards to Ro... (by kemort)
Help with a binary to decimal converter
Hello, I am doing a problem where I have to convert a random binary input via a string to a integer ...
[1 reply] : Change your for loop: for (x = 0; x < length; x++) { total = total... (by coder777)
Pages: 1... 8283848586... 104
  Archived months: [sep2015]

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