General C++ Programming - December 2012 (Page 11)

Questions about destroying the dynamic arrays and binarySearch function
Thank You For Helping
Dec 20, 2012 at 10:22am
[2 replies] Last: I do have delete sorted in my program, does it mean I destroy the d... (by coder777)
by AceK
DOES ANYBODY KNOW HOW TO LINK THE SFML LIBRARY TO THE wxDev C++ IDE
Hi there, I want to link the SFML lib to my wxDev C++ IDE so that i can start programming games. But i have no clue how to do it.
Dec 20, 2012 at 10:04am
[no replies]
How to send a windows message from C# to C++ (MFC)?
Hello mates, I'm trying to send a windowsmessage from an app in C# (Compact Frame) to another one in C++ (MFC), both of them in a PDA. In the receiver app...
Dec 20, 2012 at 9:42am
[no replies]
pointer points to a member class
Well, I am looking for a way to find out wheter my pointer is pointing to a member of a particular class and somehow I figure out a way by myself... #includ...
Dec 20, 2012 at 8:13am
[7 replies] Last: > Well I could just put the tween_t handler not in the world_t but in ... (by JLBorges)
Questions about creating arrays under classes
I'm working on the line up function which returns a line-up of 5 players – 2 guards, 2 forwards, and 1 center. However, in order to make it work, I have to cr...
Dec 20, 2012 at 8:00am
[no replies]
by SMA01
Is my compiler messed up or am I making a mistake?
I have this: char choice; cout << "Enter A to add an item, D to delete an item, S to search for an item, L for the length of the list, P to print list...
Dec 20, 2012 at 4:39am
[4 replies] Last: Using a switch helps avoid the error pointed out by eagle-eye xhtmlx ... (by TheIdeasMan)
by crp408
need a lil help
so i wrote a program that reads from a disk file and i need the program to read the disk file and separate each line into three fields of text what would be th...
Dec 20, 2012 at 4:26am
[4 replies] Last: #include <iostream> #include <vector> #include <fstream> struct Reco... (by DesiredNote)
Anagram Maker
I need help making an anagram maker. But, the one specification is that is does not include algorithms. If you guys have anything to help me out with that would...
Dec 20, 2012 at 4:09am
[5 replies] Last: Yes is does, thank you very much. (by codster)
Cygwin and Windows?
Would anyone be able to answer the below. This could be a silly question but I have to hear it for sure. If I install Cygwin on Windows and go ahead and ...
Dec 20, 2012 at 1:30am
[1 reply] : IIRC, sort of. Compiling with Cygwin makes the program dependent on cy... (by helios)
by sahi
computing yields for gilts using c++
Hi, I'm a complete beginner at c++, and I have an urgent assignment to complete, I have to read a text file safely using c++, however I'm getting no output, bel...
Dec 20, 2012 at 12:46am
[3 replies] Last: Thank you so much for the help, is just that I placed the text file in... (by sahi)
Leave out the enum class name from function arguments
I now this isn't possible but I think it would be useful if it was. If you have an enum class enum class Direction { up, down, left, right }; and...
Dec 19, 2012 at 10:15pm
[3 replies] Last: In my opinion your proposal makes C++ code hard to read. Not all funct... (by vlad from moscow)
Strings
I need help with a string statement in my code. I'm trying to make a program like Scrabble Flash(if you don't know what that is, it's a game with scrambled let...
Dec 19, 2012 at 9:26pm
[8 replies] Last: Because that's not how you call a function. You call it like it was an... (by S G H)
by werlay
i cant get all lines read with this code
Please anyone, Am having problems reading all lines of my txt file. below is the function i wrote to read the data in the file and search thru them. but it app...
Dec 19, 2012 at 9:12pm
[1 reply] : Seems like a duplicate post to me http://www.cplusplus.com/forum/begin... (by SamuelAdams)
by crp408
cant get my program to work
so when i run the program the only thing that comes up is a blank screen and i cant figure out why? // dfdf.cpp : Defines the entry point for the console...
Dec 19, 2012 at 9:11pm
[4 replies] Last: while ( !bank.eof() ) Is this condition ever getting met? Stick a b... (by ResidentBiscuit)
3d Vector
Well I have attempted to make my version of a 3d vector and I got a really strange error in the STL files on line 485. Assuming EveryThing Else is taken care o...
Dec 19, 2012 at 7:43pm
[6 replies] Last: Of course: The boost::multi_array class provides an element-preservi... (by Cubbi)
Translate the insertion sort algorithm to C++
Solved! Thank You ~^^~
Dec 19, 2012 at 7:37pm
[3 replies] Last: That task is formulated using very unconventional, for C++, concepts. ... (by Cubbi)
by SMA01
Incomplete File type, what does this mean?
I was debugging my program that is supposed to read in values from a .txt file. When I was looking at the local variables, by intInputFile it says <incomplete>....
Dec 19, 2012 at 6:21pm
[2 replies] Last: You're right, it stopped looping uncontrollably when I changed it to ... (by SMA01)
by ravian
graphics.h in code Blocks
can any one tell me where to add graphics.h so that it may not give any error. my code block is installed at (C:\Program Files (x86)\CodeBlocks) i need to s...
Dec 19, 2012 at 5:43pm
[4 replies] Last: SFML and SDL. Any graphics library will do this. (by ResidentBiscuit)
by crp408
reading from a file
so im just learning how to write in c++ and i have a question // ces.cpp : Defines the entry point for the console application. #include "stdafx.h" // ...
Dec 19, 2012 at 5:16pm
[7 replies] Last: You have 2 choices, maybe more but at least 2. Get the string the use... (by SamuelAdams)
boost::threadpool without locking
I have some basic question. Please don't comment about class desing its just like this so i could easely try to explain what i want. class Foo { X data ; // ...
Dec 19, 2012 at 3:54pm
[6 replies] Last: atomic variables are part of C++11 @ rapidcoder. Though I'm not sure ... (by Disch)
December 2012 Pages: 1... 910111213... 43
  Archived months: [nov2012] [jan2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.