| |
Rating
Thread /
Thread Starter
|
Last Post  |
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
|
0 |
13,662 |
|
 |
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).
|
|
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.
|
|
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
|
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; ...
|
|
2 |
401 |
|
|
by killzone
is there a system("PAUSE") equivalent in UNIX
|
02-Jan-2007 02:32
by WaltP
|
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)....
|
|
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...
|
|
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
|
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...
|
|
4 |
406 |
|
 |
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...
|
|
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"
|
|
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...
|
|
6 |
439 |
|
 |
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 ...
|
|
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");
|
|
1 |
407 |
|
 |
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;
|
|
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
|
|
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...
|
|
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
|
|
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);
|
|
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
|
3 |
355 |