General C++ Programming - May 2013 (Page 21)

would this be the best way to set this up?
 
did i do classes like there supposed to?. i know it compiles i just wanted to know if everything's l...
[4 replies] Last: Why is 'attack' a class? Shouldn't it be behaviour? Something like thi... (by JLBorges)
fstream problem when reading file
 
Hey guys so I'm currently making a simple map editor using OpenGl and it is going really well until ...
[2 replies] Last: Solved it! Thanks for describing how ifstream works.... So I changed i... (by Konochi)
by brillo
Need help with my rational class project
 
Hey everyone I am working on a project where I have to make a rational class that has a user input 2...
[1 reply] : Line 52: Simplify(temp.numerator,temp.denominator); Is essentially ... (by MiiNiPaa)
error: cannot convert ‘std::basic_string<char>’ to ‘int’ in assignment
 
Hi, im getting the above error for the following code. Please help me with what i am doing wrong. ...
[2 replies] Last: my bad. I made a mistake here myself. I corrected it.. I declared the ... (by bubblesbubby)
problem with urlmon
 
i am trying to download a wiki dump from a site but i noticed somehow after a new dump is available,...
[2 replies] Last: well....i am just only a noob =[ and i am trying to download the file... (by vritra22189)
problem 34, proj euler
 
Hey I am having problem with problem 34 from project euler I get 145 as the total of all numbers tha...
[13 replies] Last: Generally I would agree that learning from reading other's code is goo... (by closed account ETAkoG1T)
Quick Answer Please. Friend function. Remove one ERROR. (1,2)
 
#include <iostream> #include <fstream> using namespace std; #define LEN 100 ///////////////...
[24 replies] Last: Ok its fine. (by Rehan FASTian)
Copy constructors in Inheritance
 
From my book: " // Box.h in Ex9_05 #pragma once #include <iostream> using std::cout; using st...
[6 replies] Last: The base class constructor was being called, but the from the new deri... (by Anmol444)
WINBGIM
 
I would like to know how to use the scroll wheel (if you can) from the WINBGIM library? Or another l...
[no replies]
output ?
 
What is the output 6 or 5 and why ? int number = 6; int x = 0; x = number--; cout << x << end...
[3 replies] Last: Read the stickies and do not post twice kittycat http://www.cplusplus.... (by giblit)
by zark
ZARK SALMAN
 
i want to make a project for my finals... give me some suggestions... what coul i make ? plz its urg...
[2 replies] Last: There are loads of things you could do but you need to make sure it's ... (by Code Assassin)
Why are destructors called in reverse? (1,2)
 
From my book: "Destructors for a derived class object are called in the reverse order of the cons...
[26 replies] Last: Ooo ok, I thought it was the opposite cause technically it didnt start... (by Anmol444)
Some String questions
 
I need to check my understanding from some questions about strings. It would be great if you can sha...
[2 replies] Last: Thanks very much! (by Gluttons)
ignoring a comment line beginning with #
 
Hi, my program had a requirement to ignore an input beginning with a # sign. The input is entere...
[9 replies] Last: yes.. Here is the answer: Enter the string> Hello #comment Hello... (by bubblesbubby)
need help
 
i need help!!! im trying to make 2 different billing systems talk to each other. how can i get star...
[1 reply] : You will have to be more specific. What do you mean by "talk" to each ... (by Smac89)
by brillo
Error LNK 2019 and LNK 1120
 
Hey everyone I am currently working on a project for my C++ class and we are supposed to make a Rati...
[3 replies] Last: You're welcome :) (by MikeyBoy)
Memory mapping & mirroring
 
Im writing a emulator to the NES just for the fun of it and ive hit a wall. Memory locations 0x2000...
[3 replies] Last: Turns out its even easier than that. Just & the memory address with 0x... (by Angeljruiz)
Why is the incorrect output being displayed?
 
Here's the program: #include<iostream.h> #include<conio.h> #include<stdio.h> #include<string.h>...
[4 replies] Last: Thanks alot MiiniPaa! It was of great help :) (by Winkerd)
by AceK
CLIENT/SERVER APPLICATION NOT WORKING PROPERLY
 
Hi there, I've created this client/server app. It's basically a chat app. The client and server work...
[6 replies] Last: It has more to do with being behind a NAT than having a dynamic IP. (by Peter87)
by Aceix
SFML drawing
 
Hi, I try to make a text editor sort of in SFML. funny huh? anyway just testing the sf::Text class. ...
[12 replies] Last: Thanks to you all. Aceix. (by Aceix)
May 2013 Pages: 1... 1920212223... 47
  Archived months: [apr2013] [jun2013]

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