GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C++ Forum

Welcome to the C++ forum.

Browse through the links below to find existing C++ programming language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C++ code in your posts and messages, please surround your example codes in [cpp]...[/cpp] bbcode tags when you submit your messages. This will syntax highlight your CPP / C++ code examples within a post. Please refer to the details here.

Post New Thread
Threads in Forum : C++ Forum Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views
 
by WaltP
Guidelines for Posting Requests for Help version 3.1 GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
21-Apr-2005 03:44
by WaltP Go to last post
0 13,662
Post
by kmathanbe
Dear's how r u ? i am using unix os. already i wrote one small code to get the local ip address, but it display the unix server ip address. so, how can i get my local pc ip addressin c++ program. please give me the code to get the ip(only unix os).
02-Jan-2007 22:46
by kmathanbe Go to last post
2 846
 
by Petar
hiiiii, How can I open library in c++? And How can I see functions in c++? for example : I want see (pow(x,y) function). I have visual c++. I want open it by this program.
02-Jan-2007 22:42
by davekw7x Go to last post
6 860
 
by usmsci
hi all i am setting up a linked list with data and i am having trouble traversing through the list starting from the beginning of the list. here is the code that i have. //in class.h struct data { int item_id; int noteid; wxString *strings; data *next;
02-Jan-2007 21:14
by Sokar Go to last post
1 432
 
by eccefeles
Hello. I am having a strange problem that is a little hard to explain, so here's the relevant (I think) C++ code. cout << (norm3d(ray1.dir())) << endl; // Line 1 cout << (norm3d(ray1.dir()) == 1) << endl; // Line 2: int 1 should be ok cout << (norm3d(ray1.dir()) == 1.0) << endl; ...
02-Jan-2007 18:29
by eccefeles Go to last post
2 401
 
by killzone
is there a system("PAUSE") equivalent in UNIX
02-Jan-2007 02:32
by WaltP Go to last post
2 10,999
 
by asenthil
Hai to all... Wish U All a Happy New Year... this is senthil... i'm now working in the field of VC++.... i had tried to write a simple string into a file(any file such as xml,txt or html)....
01-Jan-2007 22:10
by asenthil Go to last post
0 426
 
by heavyaris
hello, and mary christmas! I am using borland builder 2006, and i want to perform some "job" in a directory.. i have found how to do this in "console application", (i just give the path by hand).. but i need to do this with a "visual" language.. unfortunately i didn't found any dialog box or any...
31-Dec-2006 17:41
by ubergeek Go to last post
1 366
 
by Kas245
int main(int argc, char *argv) and some times int main(int argc, char *argv)
31-Dec-2006 11:24
by davis Go to last post
7 408
 
by killzone
Im relatively good at programming and i want to know which is easier for a novice programmer UNIX or WINDOWS? Anyone who has ever programmed for windows or unix please post some of your views. At the moment im thinking UNIX as its easier to program and most of the programs are command line which...
31-Dec-2006 03:53
by Kas245 Go to last post
4 406
Question
by Kalvorod
I am attempting to have my randomizer select a value from a vector based on the following: high enough Integer Level, and Rarity of the value. For example, if the Level we are looking for is "6", I still want lower value items to possible, but less likely. Also, I want it to be able to deal with...
31-Dec-2006 01:50
by Kalvorod Go to last post
5 404
 
by killzone
I dont understand what is wrong with it im trying to practice using constructors and destructors with class inheritance. I just dont understand whats wrong? main.cpp #include <cstdlib> #include <iostream> using namespace std; #include "myfunc.cpp"
31-Dec-2006 01:26
by Kalvorod Go to last post
2 865
 
by R3V1S0
I am writing a poetry program and i want to assign a data file called nouns.txt, which is full of nouns, into a vector so that i can then use a random number generator to randomly choose nouns to create the poem. This is the code i have so far. And it compiles fine but it won't run. Can anyone...
31-Dec-2006 01:18
by Kalvorod Go to last post
6 439
Post
by kmathanbe
hi dearz, wish u a happy new year . i am a new in c++. i compliked one small program, but i got the error ( see below). plz tell the reason, what is the reason ASAP. %CC exp.cpp Undefined first referenced symbol in file gethostbyname ...
30-Dec-2006 05:27
by kmathanbe Go to last post
0 338
 
by shatred
hi... Got a problem here, perhaps u guys can assist me, i want to read from a file using getline function int main () { char line, c ="object Class" ; ifstream myfile ("example.txt");
29-Dec-2006 09:32
by davekw7x Go to last post
1 407
Question
by killzone
#include <windows.h> #include <string.h> #include <iostream> LRESULT CALLBACK MainWndProc (HWND hwnd, UINT nMsg, WPARAM wParam, LPARAM lParam) { static HWND hwndButton = 0;
28-Dec-2006 20:52
by Paramesh Go to last post
2 384
 
by shatred
HI, i got a problem here, wish you all can give some opinion or recommendation for i have use some method but its end with my system hang, im using getstring to extract example file below into certain text only and the result should be as below... example input file example output file
28-Dec-2006 14:26
by shatred Go to last post
1 436
 
by tadas21
Hello, is it very hard to "program a program" that would push a button when a pixel in the screen changes let's say from black to white? I play a flash game, and I need that when the lamp in http://img214.imageshack.us/img214/4868/httpimg225imageshackusibk7.th.jpg starts shining like in this...
28-Dec-2006 13:14
by Kas245 Go to last post
1 559
 
by chaps555
hi, as my question is abstract class? As i far i know abstract class is the class whose object cannot be generated.but i need to know why we need such a class whos object is not required. regards chapz
27-Dec-2006 09:48
by davekw7x Go to last post
1 1,509
 
by sitha
Hi Everybody, I wrote a program to read and write from screen as follows, Node class: class Node { friend ostream& operator<<(ostream&, const Node&); friend istream& operator>>(istream&, Node&); public: Node(double, double, double);
27-Dec-2006 09:31
by davekw7x Go to last post
1 371
 
by jmcgraw
Hello, I'm taking a C++ course next quarter (it's a course for computer engineering majors), and I was reading the student evaluations for my particular course. A common complaint among the students who took this class was that the "machine problems" were insanely difficult and time...
26-Dec-2006 11:11
by davis Go to last post
3 355
Post New Thread

Recent GIDBlogProgramming ebook direct download available by crystalattice

Display Options Moderators
Showing threads 2001 to 2020 of 4590 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:57.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.