Beginners - November 2012

undefined reference to `WinMain@16' in eclipse
 
Hello, I've gotten this linking error for some time now, and I've been trying to figure out how to s...
[5 replies] Last: When I say bare bones, I mean: "g++ -Wall *.cpp -oprogram.exe -llua" a... (by TheBreadCat)
by prees
multiple inputs
 
Hey, I'm pretty good with Java but I'm taking a c++ course to learn it and I am hating it. anyway...
[2 replies] Last: The user can always enter variables on the same line or on different l... (by Hippogriff)
Multiple compilation errors LNK2019
 
I have multiple errors relating to my source code https://www.dropbox.com/s/qii6ti08xydelve/Co...
[5 replies] Last: Lines 169, 171, and 174 shouldn't compile. On line 168, you declare c... (by Branflakes91093)
Storing data from a file into an array
 
Ok, so I'm given let's say a set of data in a .txt file that reads: width length height area width ...
[6 replies] Last: I mean, I don't really know. What we have to do is for the read functi... (by ndawg201)
Implementing classes and creating a driver function?
 
I am having a few issues with this program, they stem from passing the color.h and .cpp into another...
[no replies]
Question about Run Length Encoding
 
Hi, if we take for example 32bits: 1111 1000 0000 1000 0001 1111 1100 0000, how does it become (24bi...
[3 replies] Last: @pq1wx1p Did you mis-type the 4th and 6th group of bits in the RLE ver... (by andywestken)
by sabi20
How do you pass a dyanamically created array struct to a function
 
How do u pass a dynamically created struct to a function by reference. I cant get this to work i kee...
[14 replies] Last: thank you (by sabi20)
Programming Isola(Game) -PLease help with errors!!
 
Heres what I have so far: bool valid_location(string location) // checks to make sure the strin...
[no replies]
Inheritance + Arrays
 
Hi! I've made my program running, but as soon as I try to create my object, it crashes. It looks s...
[3 replies] Last: OH. MY. GOD. That one letter. Thank you very much! (by Malegria)
SegFault Problem
 
In my computer science class, we were to take the following .txt file and arrange it so that it take...
[15 replies] Last: @ KennethQ: there is a lot of room left for improvement. For instanc... (by Catfish3)
java to c++ conversion
 
Someone please help me with this code its in java and I only know c++ please convert this for me or ...
[1 reply] : This is trivial even if you've never dealed with Java. You hardly need... (by Athar)
Calling functions
 
When I run the programme and Select Option B then A it does not call the function member_dimensions(...
[no replies]
Shutdown using code ?
 
How to shut down windows using a c++ program ...? (i.e. a program that ,when executed shuts down th...
[6 replies] Last: yes it helps me.. ;) thanx (by Pter0dactyl)
function vs macro
 
What is the difference between an inline function and a macro.What I know is both of them expand and...
[no replies]
getting entire line to read from a file.
 
Hello, I have a program I am trying to run that allows me to read in a question from a file and then...
[2 replies] Last: The >> operator only reads the first word. Apparently you want to read... (by toum)
G++ error undefined reference
 
this is the second time i have had this issue when passing values to and from my functions so i am c...
[no replies]
logical error entering while
 
I am attempting to enter a while loop but for some reason my logic is off. It enters the loop exact...
[4 replies] Last: ahhh seee im dumb im so used to wanting to enter the loop with the val... (by jumperkid400)
Is there a way to get a list of class members programmatically?
 
Is there a way to get a list of class members programmatically?
[1 reply] : No. (by firedraco)
by sirc89
C-Strings
 
#include <fstream> // for ifstream #include <iostream> // for cin, cout and cerr #include <string...
[3 replies] Last: got it needs to be if (str != "\n") (by sirc89)
November 2012 Pages: 123... 75
  Archived months: [oct2012] [dec2012]

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