Beginners - August 2012 (Page 30)

Strange error with a bool
 
this has got to be a stupid mistake im making, please help! A line in my project: bool running = true; my error: F:\OpenGl\BitMaps_OpenGL\main....
[8 replies] Last: If it works it works, but I've also found that many std libraries (ios... (by Lowest0ne)
by golriz
Advanced Repetition
 
Hi I should write this assignment with C++, visual studio, which focuses on creating and manipulating repetition control structures. I appreciate it in adva...
[1 reply] : Why not try it out first ? We'll help u but no one here will do it for... (by soranz)
data structers
 
hi this code it is for union two dynamic lists #include <string> #include <sstream> #include <iostream> using namespace std; struct list { i...
[2 replies] Last: thank you very much Nexius! plz add the main part to your code, cuz ... (by Bassam300)
Multiple Errors - Class Structure
 
I am trying to get a program for class running and I cannot figure out what I am doing wrong. I keep getting multiple errors and quite frankly I don't really kn...
[4 replies] Last: You declared to function with the same bane void setSalesTotal... (by vlad from moscow)
Beginners Troubles
 
Hi! I just started to learn C++ with this tutorial: http://newdata.box.sk/bx/c/index.htm I am using CodeBlocks and it seems that the code in the tutorial is o...
[3 replies] Last: http://thenewboston.org/list.php?cat=16 Amazing teacher and easy prog... (by Need4Sleep)
by Kovs95
Grading Program
 
I began learning how to code this month and attended a c++ camp for a week, so I am familiar with all of the basics. I found these exercises, which I found very...
[4 replies] Last: Thanks a lot Akshit and Volatile Pulse for your suggestions! I got it ... (by Kovs95)
RPG: battles and passing references
 
for the past week or two I've been rebuilding a small rpg that i wrote in visual basic up in c++, coming across some issues such as inventory and others that th...
[4 replies] Last: So thats where i was going wrong, initially i was writing out methods ... (by titan94)
by nyfer
virtual function not able to display proper result
 
i have done c++ program, where my base class ie Shape does the job of taking data , and the other two derived classes Triangle and Rectangle calculate the area...
[12 replies] Last: :):) (by Akshit)
list
 
Hi guys, I've been seeing this a lot in codes on the website: ... list<...> ... and would just like to know what that does. Thanks
[8 replies] Last: Thanks a lot for everything guys! (by MaxLascombe)
bitcopy versus initialization
 
// A class that counts its objects #include <fstream> #include <string> using namespace std; ofstream out("HowMany.out"); class HowMany { static int o...
[2 replies] Last: [quote=jageera]Will any one tell me the reason behind the output not c... (by guestgulkan)
Very different function call ?
 
I was going through a code for video coding (HEVC test model HM 4.0), I found a very strange code as given below:Please see the complete code in the following U...
[1 reply] : Note that the statement on line 111 go all the way until line 260 wher... (by Peter87)
C++ programming on Mac
 
Hello, I would like to start programming on Mac, would please you let me know what is the right compiler , editor and so on on this platform. Many thanks ...
[1 reply] : If you want a text editor and CL compiler, I'd use TextWrangler and GC... (by MrHutch)
Problem with OR operator
 
Hi I am having trouble getting this or operator to work. From what I can tell the line that uses the input asks: "If the userkey is equal to 88 or is eq...
[3 replies] Last: Thanks Bassam300! and thanks Nexius! for clearing that up for me. I ... (by Weighbridge)
I can't find the error- a little help please
 
The problem is that it works perfectly without the password function. However, as soon as you run the program with the password function the program behaves di...
[3 replies] Last: Thanks for that I put this in line 81 and it works a treat SetConsol... (by Vagabond)
Have a few errors (1,2,3,4)
 
I am starting my last assignment which is a banking system project. I have just one function down and 5 more functions to go. But i have a few problems Banking...
[72 replies] Last: OK, thanks Lauren. We were posting at the same time. So there is no ... (by TheIdeasMan)
invalid operands to binary % (have ‘float’ and ‘int’)
 
http://ideone.com/ZAHU4 cant find whats wrong with it..!!
[1 reply] : your wrong is in this line if((tr % 5 == 0) && (tr <= bal-tax)) th... (by Bassam300)
Loss of data?
 
Hi All, I am working on a program for class that use's functions and gather's information on students and 3 test scores. When trying to run the program I c...
[8 replies] Last: Ahh this makes perfect sense! I was on the code I had altered and thou... (by travisco)
can not run "Hello World"
 
Downloaded the free C++ for mac from CPP Edit v 1.285 (macupdate). Keyboarded in "Hello World" program (I have never programmed before.) Saved as C++ format. ...
[13 replies] Last: so wait.. eclipse still isn't made for mac yet? (by Aramil of Elixia)
operator unidentified
 
What is |= operator in the following definition #define xConfirmPara(a,b) check_failed |= confirmPara(a,b)
[1 reply] : It's the "bitwise or" assignment operator. a |= b; is the same as ... (by Disch)
[Help] Something wrong with the age input and output.
 
#include <stdio.h> #include <string> #include <conio.h> #include <stdlib.h> void main() { char name ,sex,res,sex_r ; char remark ; float height,...
[1 reply] : Since flushall() isn't standard (it comes from the conio.h header file... (by Volatile Pulse)
August 2012 Pages: 1... 2829303132... 45
  Archived months: [jul2012] [sep2012]

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