General C++ Programming (Page 2)

Why should 64 bit development ever be chosen over 32 bit?
Pardon me if this is a silly question, but I want to make sure I'm clear on this subject. 64 bit ge...
[5 replies] Last: 32-bit can be faster on 64-but architecture but it is more a question ... (by Ericool)
Reading from file to array issue
Hey, so I am working on an assignment and for part of it I need to read from a file and then put the...
[4 replies] Last: why i is out the loop scope ? (by Ericool)
want to return multiple values
can anyone help me, I AM A BEGINNER i want to return account number(num_acc) also with number of it...
[4 replies] Last: Whe can send more than just an integer, think of object created from s... (by Ericool)
Write your question here. //write an algorithm for this program and optimize the entire proced...
[2 replies] Last: Create a class or a struct called cheque , make a variable called cons... (by Ericool)
Hello guys, I have a question: how does it works and how it can be used as a condition ? ...
[3 replies] Last: [quote=amidaraxar]I'd like to control the input from the keyboard. Con... (by LB)
#include <> not needed in
Hello! I have a somewhat simple problem. In you only thing you need is... #include <iostre...
[2 replies] Last: Thanks, I just was curios. (by FireCoder)
Problems with file I/O
Write a simple C++ program called sum.cpp. The program will: 1. Read a file that contains several i...
[1 reply] : Please use code tags in future and explain specifically what your prob... (by James2250)
How to solve this run time error? thx.. SOURCE CODE: #include <iostream> #include <string> #inclu...
[5 replies] Last: Thanks guys ... Iappreciate it. (by omer123)
by medoo
error:particleName’ was not declared
Dear All I have tried to include the compton scattering in one of the examples in geant4.10.01.p0...
[8 replies] Last: my desired data (shown in terminal) but I want them in file There is... (by keskiverto)
by leourb
ifstream - Skip words
Hi, I have to import data from a .txt file formatted like this: Name: AAAAA BBBBBB; Address:...
[6 replies] Last: Thank you very much JLBorges! :D I was starting to get crazy! lol (by leourb)
Multiple Inheritance
Hello to everyone, I have a question: is it possible that a derived class, inherite the values of ...
[8 replies] Last: Perfect, i've tried and it works. You've been really kind and helpful (by amidaraxar)
compile for very long expression
Hi All, I am working on a project for modeling robotic dynamics. It requires to compile very very...
[3 replies] Last: Try making the variables volatile qualified with external linkage. ... (by JLBorges)
by piotr5
is there a simpler way to write an abs function?
first off the requirement is, my integer class has no copy-constructor, instead it's a child of: t...
[7 replies] Last: @nayonrony: I'm not sure why you copypasted JLBorges' post, but I did ... (by LB)
Now getting this error when compiling this macro: Undefined symbols for architecture x86_64: ...
[8 replies] Last: I'm also somewhat fearful of having to work within the limitations of ... (by shadowmouse)
move contructor and move assignment for a union-like class
Is there a better way to write a move constructor and move assignment for the class below. // g++...
[2 replies] Last: @JLBorges Thank you, hope I've done it right this time. Token::Toke... (by ChajusSaib)
expected class name error
Hello lads, I seem to be having an issue with a simple program. The error messages I am getting is ...
[8 replies] Last: @JLBorges Thanks again mate, totally flew over my head. (by ChajusSaib)
Key Reading
I know I just posted a newby post but I have another one. I have bought c++ books and searched the w...
[8 replies] Last: Oh, look, they're doing it to me now. Some people are easily amused, ... (by MikeyBoy)
by pfjf2
sfml - drawing text
Hello, I am having difficulty drawing text to a window using SFML. My code is below : #incl...
[3 replies] Last: More then likely it isn't loading because you don't have the font insi... (by Z e r e o)
by royeh
Not running well in writing data in a csv file in VS2013
I am trying to write data to a cvs file and is working great. There is only a problem that I have to...
[no replies]
by yj1214
Using OpenGL to make GUI
Instead of using libraries like Qt, wxWidgets, GTK+ etc. is it a good idea to make GUI using only pu...
[2 replies] Last: Something that should be mentioned is that writing a UI library from s... (by NT3)
Pages: 1234... 32
  Archived months: [jun2015]

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