General C++ Programming - March 2012 (Page 23)

will someone please help ,imdying here.
 
//im required to do as instructed here //=========== http://comsc265.yolasite.com/lab-3.php ===========// //==============my code which doesnt work=======...
[2 replies] Last: I think you do not require this for double double davg(double m, ..... (by bluecoder)
error LNK2019 I have no idea... (1,2)
 
1>headerwork.obj : error LNK2019: unresolved external symbol "public: void __thiscall ColourController::setForeground(enum colour)" (?setForeground@ColourContr...
[29 replies] Last: I just put them all in the project, and removed the functions from my ... (by Aaron Law)
by oonej
Passing String to Function
 
I'm trying to pass a string to a function. MyClass x(); x.add("some name", 11); void MyClass::add(const char *name, int someint) { //do some work } ...
[6 replies] Last: ahh cool, just started using codeblocks so i missed that part :) th... (by oonej)
What programming/script languages do you know?
 
Hey, give us a list of what you know of programming/script languages. Here is mine: C/C++, SQL (yes SELECT 1+1 works, so you can do programming in it), LUA, PH...
[4 replies] Last: C, C++, C#, VB.NET, Java, Scala, Ruby, Python, HTML/CSS, SQL, PHP, x86... (by closed account 1yR4jE8b)
crash in std::_Rb_tree_increment(std::_Rb_tree_node_base const *)
 
Hi, I got a crash stacktrace which is... ------------------------------------------------------------------ ............ ............... leafNodeArray::e...
[3 replies] Last: What I'm saying is that sort isn't called before elementAt. That me... (by cire)
quick question about oop
 
i just want to confirm that i have understood the basics of it. is this correct: say i make a class for friendly NPC's in a game, i would make a class calle...
[3 replies] Last: so the way i said was more or less correct then? btw bad wording i gue... (by even821)
Integrating Python and C++
 
I am making a tic tac toe board gui using wxPython. I'm hoping that I can program the logic for the game using C++. If this is true, that I can do this, is wxPy...
[no replies]
suitable data struct needed
 
hey guys. im implementing a program. and i need a data structure (like queue) which should has these features; for example user inputs an integer => x; I have...
[5 replies] Last: You can define any datatype as global. If you can't use anything ou... (by mik2718)
by drenyl
HOW TO MAKE THIS TRIANGLE
 
GUYS CAN SOMEONE HELP ME THROUGH THIS. OUTPUT: wwwwwww* wwwwww** wwwww*** wwww**** www***** ww****** w******* ******** NOTE: (w)- represent as SPACE. i reall...
[15 replies] Last: @MOORCEM @CODE777 I GOT IT TNX A LOT GUYS. I LOVE YOU ALL. :))) (by drenyl)
by drenyl
asterisk triangle code
 
GUYS CAN SOMEONE HELP ME THROUGH THIS. OUTPUT: wwwwwww* wwwwww** wwwww*** wwww**** www***** ww****** w******* ******** NOTE: (w)- represent as S...
[1 reply] : Please don't cross post. http://cplusplus.com/forum/general/64720/ (by moorecm)
feedback on my game?
 
i was hoping someone could give me some feedback on the game i made with a friend. the game can be found here: http://bit.ly/wMvw6a (updated the link to a work...
[8 replies] Last: haha, was planning to add power ups or something, might do it soon. y... (by even821)
Turning a C++ Project into an .exe
 
How do I go about taking a project that has been coded in C++ and make it so that anyone's computer can use it. I've tried copying the dll that it needs but it ...
[16 replies] Last: As long as you're using the debug configuration, use /MTd. There are ... (by cire)
How can I have multible classes in one file?
 
Hello everyone, I was wondering if there is a way to put multiple classes (".h" & ".cpp") in to one file? I would like to be able to use this file in my project...
[4 replies] Last: Great thank you for the help! (by Binary Thoughts)
iterator's behavior when container's size is zero.
 
#include <stdlib.h> #include <iostream> #include <map> main() { std::map<size_t,int> mt; std::map< size_t, int>::iterator iter; iter = mt.begin(); ...
[4 replies] Last: You should use something like: iter = mt.begin(); if(iter != mt.end... (by Galik)
new array of size 0 and delete...
 
consider this... std::map<int,int> table; // any container of size ZERO. // table.size() is zero. A ** ptr = new A*[table.size()]; delete ptr; One...
[4 replies] Last: Given that a zero sized array has no elements then dereferencing it is... (by Galik)
Extremely confused with basic programming.
 
#include <iostream> #include <cstdlib> #include <errno.h> using namespace std; int main(int argc, char *argv ) { if (argc==3) { if(isalpha(*...
[2 replies] Last: if (argc) == 3 { int a = atoi(argv ), b = atoi(argv ); //Now d... (by Pravesh Koirala)
Loading a 2-D Array from File
 
Hello, For my homework assignment, I have to load a set of numbers into a 2-D Array. The first value in the file is the amount of rows + columns the array has ...
[1 reply] : The file should contain 2 2 3 4 5 in that case. The 2 is being taken a... (by BHX)
Very confused on GUI's(help!)
 
Im extremely confused on this subject, here is what i want to do. -upon running the program, a seperate window pops up and displays a message on the window ask...
[4 replies] Last: I wrote what I think is a pretty good post on a similar subject (WIN32... (by Stewbond)
by Zapeth
multiple sockets - use asio or iocp?
 
Hi, I am currently trying to write some kind of game server which gets and sends tcp packets from and to the client. So I am aiming for a server that should be...
[no replies]
Please answer asap
 
http://www.cplusplus.com/forum/beginner/64633/ Im in need of a similar situation. If anyone knows how to add a range for the numbers used, please help.
[3 replies] Last: The value range of double entered, ie. set the max input value of doub... (by condemned)
March 2012 Pages: 1... 2122232425... 49
  Archived months: [feb2012] [apr2012]

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