Beginners - March 2012 (Page 18)

Overloaded < and > operators
 
Hi, I'm trying to overload the < and > operators to compare two objects but when I try to use them, ...
[1 reply] : example bool operator > (const AllNumbers & right) const; bool opera... (by Shinigami)
by co1ote
avoid newline in C
 
Hi, I'm trying to use scanf like this: scanf("%d%c%d", &a, &op, &b); if (op=='+') c=a+b; ...
[3 replies] Last: Ty shysan21, but I cant use getche because it just read 1 character. I... (by co1ote)
by Ch1156
Quick Question
 
I was wondering if you could ask question about C# here? or is there a website similar to this one f...
[5 replies] Last: Some of us do know some C#, if you must ask here (msdn may be better) ... (by naraku9333)
Whats wrong with this code?
 
Cant get this code to compile right... im not sure why... any help would be amazing. #include <i...
[4 replies] Last: Thank you CJ. I was tired last night and didnt eve notice some of th... (by Tyriddik)
Converting from MS Visual C++ 6.0 to Visual C++ 2010 express help please?
 
I have a computer science class this semester and I'm learning c++(and excelling rapidly, 100% mark ...
[8 replies] Last: okay thank you, i'll give code::blocks a try. (by strangecanadian)
Problem Encrypting File
 
Problem not writing properly. PROBLEM FIXED
[2 replies] Last: I fixed it. (by Subzero030201)
by jalfor
Compiler Giving Me Wacko Errors
 
My computer is giving me some errors that make me fear for it's mental health. They all seem to foll...
[1 reply] : This is often cause by one of three things: failure to use include gua... (by PanGalactic)
Error C2440: Cannot convert from "node *" to "node"
 
Hello I'm trying to create a binary tree. However, everytime I try to create a node object, the c...
[3 replies] Last: Ah yes, I got it mixed up. Thanks to both of you. (by BananaCode)
ignore white spaces while looping and remove excess whitespaces
 
so the loop goes executes about 1082 times im trying to start a new line every 71st character, and r...
[2 replies] Last: @shysan21: That is integer division, 1/71 = 0. It would be better t... (by Lowest0ne)
Help me trace the output!
 
Here is the sample code. I was asked to trace it but i can't get everything right. So far I managed ...
[no replies]
by oopssy
Array and File
 
I am sorry.
[2 replies] Last: Many thanks (by oopssy)
by oopssy
nothing
 
Hello ^^
[8 replies] Last: @ Long double main : Thanks for your suggestion ^^. @ InCis B : I ha... (by oopssy)
Using a One dimensional array
 
This is my assignment. It is due at 11:59PM so I could use help fast. I have a lot of other classes...
[1 reply] : Here is what I have so far: #include <iostream> using namespace st... (by molecularman)
Pseudo Code
 
Greetings guys, can you please check my pseudo code for me ? this is my calculator program ...
[no replies]
by idks16
scoring a blackjack hand
 
i'm making a program that scores a blackjack hand but i don't know how to make ten, jack, queen, and...
[5 replies] Last: any luck? (by idks16)
Can you tell me why my calculator program won't compile please..
 
//-| ------------------------------------------------------------------------------- //-| COP 301...
[6 replies] Last: thanks man! you saved my grade. just barely got it submitted. (by byronflds)
Issue with reading till end of line (not file)
 
Hey, Guys So I'm trying to read in data till the end of line,I have written a code that KINDA doe...
[3 replies] Last: This might help: http://stackoverflow.com/questions/236129/how-to-spli... (by Lowest0ne)
how do you normalize a vector in dx10?
 
how do you normalize a vector in dx10? Plus does dx10 allow you to create a vector via two poin...
[2 replies] Last: I thought there was a DX10 function already provided, I didn't want to... (by Blessman11)
How do I fix this
 
when testing for run time errors i came upon the fact that the input was weird i think it has someth...
[4 replies] Last: This maybe what you are looking for. #include <iostream> #include <... (by Subzero030201)
ifstream& ist, ofstream& ost in a function
 
i want to be able to read the file that the user inputted and format the text then output the fo...
[4 replies] Last: same as when it isn't. :) (by Lowest0ne)
March 2012 Pages: 1... 1617181920... 71
  Archived months: [feb2012] [apr2012]

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