Beginners - August 2011 (Page 23)

by micha
compare char with hexadecimal
 
char c; c = 0xf0; if (c == 0xf0) { do something } The program not enter the if s...
[5 replies] Last: Maybe you could try char c = '\xf0'; if (c == '\xf0') { do someth... (by andywestken)
Where To Start Learning C++
 
I am in 8th grade and I really want to start programming C++ on Xcode (I have a Mac) so that I can m...
[4 replies] Last: Thanks! I'll try objective c then. Does anyone have any good ways to l... (by chiapuz)
Friend functions
 
I have been studying classes of late and came to know about friend functions which are a way to acce...
[6 replies] Last: Disclaimer: novice here The book I'm working out of details situation... (by alhypo)
by zoe
Menu Problems
 
So this is my first time, and I need someone to please solve the problem for me. This is my program....
[1 reply] : First please always surround your code in the tags -- you'll find ... (by kooth)
Prevent console from exiting
 
I am trying to do console application, that only exits, when user press 'x' ( close ) button, becaus...
[15 replies] Last: Thanks for the tip. I am a little new so I do not know much :) I will ... (by TheMassiveChipmunk)
what's wrong with this
 
Need to change the int to char? cpp file void Card::swap ( int &a, int &b ) { int temp = a; ...
[2 replies] Last: changed the int in swap function to CardType. compile success. Thanks ... (by kacaubird)
compile
 
I have some question , if i wish to complie example sin into my c++ file under include what is the c...
[5 replies] Last: hahas i still have no idea how to start the first line >.< (by Frozendog11)
Problem Compiling Multiple Files
 
I am trying to compile a .cpp file and a .h file in one project. Whenever I try to build the project...
[6 replies] Last: [code firstline=17] void draw_paddle(){ rectfill(bu... (by ne555)
Backpropagation c++ code
 
main() { OutputTrain = fopen("OUTTRAIN.txt", "w"); // buka paparan data output sasaran ...
[2 replies] Last: See http://stackoverflow.com/questions/275004/c-timer-function-to-prov... (by David Ruhmann)
by nidal
a way for socket programming in Windows
 
Hi, I began 1 week ago to learn programming with C++. I am writing my MasterThesis and should mak...
[2 replies] Last: http://www.madwizard.org/programming/tutorials/netcpp/1 This page I f... (by ModShop)
error LNK2019: unresolved external symbol
 
When i compile my code on visual studio using platform x64 i get the following output : which shows...
[1 reply] : Make sure that the entire code is newly build (like deleting all *.obj... (by coder777)
by codrgi
where to download this library?
 
im looking to download the lzf_compress library from http://oldhome.schmorp.de/marc/liblzf.html i no...
[1 reply] : If it's for C you can use it for C++ as well (by coder777)
by skn
I'd like to have this code criticized please (1,2)
 
This was a simple program I wrote to allow me to decide between multiple choices and also give it a ...
[21 replies] Last: Are you sure you didn't confuse this thread with some other ? OP didn... (by hamsterman)
need help with for loop problem
 
Hi Im trying to use a 'for loop' in order to create a program where the user inputs 'N' amount of...
[5 replies] Last: Ah sorry forgot about the condition that there is a limit to how many ... (by drunken meerkat)
error in for loop..
 
I am getting the following error timeseries.cpp: In constructor ‘NEAT::Timeseries::Timeseries()...
[2 replies] Last: makes sense. thanks :) (by ausairman)
C++ Beginner looking for some constructive criticism
 
Deleted code... please delete topic
[1 reply] : Deleted code.... (by Cuddlebuddie928)
Clear Input Stream
 
I know that this question has been asked and answered a million times, but I'm just not handling it ...
[4 replies] Last: That seems to work Thanks as always! (by joatmon)
Virtual problems
 
I'm having trouble with my virtual function, but I'm doing the same thing as my professor did in our...
[8 replies] Last: I did change the 8s to something else, more for a different output tha... (by shiyongseng)
GUI programming
 
Hey all. I was wondering how much harder is GUI programming compared to console programming? Also, w...
[4 replies] Last: For C++ GUI we need to pick a GUI library to use. But most of them has... (by sohguanh)
what is wrong with this code?
 
#include <iostream> using namespace std; int convert(int number); int main(int number) { ...
[11 replies] Last: This is the simplest as it can be: #include <iostream> using namespa... (by happykiller)
August 2011 Pages: 1... 2122232425... 39
  Archived months: [jul2011] [sep2011]

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