49,755 Topics

Member Avatar for
Member Avatar for dylank

Hi, I am trying to read a webpage, namely a PHP page that returns "true" or "false" depending what $_GET (Or is it $_POST?) information is sent. The URL it attempts to read will look like this: [ICODE]www.thesite.com/key.php?key=the_key[/ICODE] and the page will return a true or false. I currently have …

Member Avatar for dylank
0
1K
Member Avatar for khitab12

Write a C++ program to implement employee directory, which will let the organization to perform the following functions: 1) Insert the record of new employee 2) Delete the record of an existing employee 3) Find the record of an existing employee 4) Display Report Following information of each employee must …

Member Avatar for Phil++
-2
106
Member Avatar for power_computer

I was given a template class code here and I have to add the code to a insert function in there, I have no real experience with templates, how would I go about doing this ? here is the template class code.cpp [code] // Implementation of the templated version of …

Member Avatar for power_computer
0
138
Member Avatar for raigs

N00B. Is it possible to compile every line in a file except one? That line would be left in text mode inside the compiled file. Would the file even execute? I'm using gcc (g++).

Member Avatar for kenji
0
81
Member Avatar for benjaminshinobi

heeeeeEEEeeey I had a question. I am somewhat of a n00b when it comes to coding real C++ programs but I am decent with C like syntax because of actionscript/Processing, so hopefully it makes sense that my skills are disparate. My question is thus, I recently found out how to …

0
44
Member Avatar for raigs

N00B. Can I buffer cout, cout something and then cout the buffer? I've been googleing but did not find anything of this sort. [CODE]#include <iostream> using namespace std; int main (void) { cout << "cout output until this point"; string BUFFER; // I need to buffer the cout output until …

Member Avatar for raigs
0
145
Member Avatar for program900

what is the function for eroor trap like if the user is only allowed to input numbers if he input letter he wil get a note

-1
55
Member Avatar for StaticX

Hi,Im having a hard time understanding the fundamentals of Object oriented programming.Ive made a really simple program that allows a user to enter a number, and then i have a function that doubles this number and returns it. But im still having the same errors that i had when i …

Member Avatar for mikiurban
0
106
Member Avatar for CplusplusNewBee

Hello, I am a newbee in C++. I am trying to have a connection setup and trying to access private varaibles of a class. Please look at my piece of code below. Any comments would be greatly appreciated. Basically, I want to access two private varaibles from MyClass into AnotherClass(myNewClass …

Member Avatar for CplusplusNewBee
0
78
Member Avatar for raigs

N00B. I cannot seem to get this right. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main(void) { system(("sendmail -options" + EMAIL_TEXT)); return 0; }[/CODE]

Member Avatar for mikiurban
0
208
Member Avatar for kustrle

I have composed a Windows Forms Application with few Check Boxes and Install button on it as well. Now I just made a code for Install button's Event Handler which run application when button is clicked. Code is following, and was just made for test if everything works as supposed …

Member Avatar for kustrle
0
115
Member Avatar for jnick12

I'm stuck and I don't know what to do I need help. I need help on how to do the nested for loops and how to get to data from the input file to display corresponding values. Can somebody help me please. Read the attached documents and see if you …

Member Avatar for Ancient Dragon
0
125
Member Avatar for ashwini jadhav
Member Avatar for ashwini jadhav

hi, i am new in programming. i know that c++ used in development of games.so,i want to also some simple games to develop.please give some question for developing game? thank's

Member Avatar for ashwini jadhav
0
92
Member Avatar for Your_mum

Had a look at pointers in the tut I am following, and I can't really get my head around why their useful. It says they are, but tells you no more???

Member Avatar for Your_mum
0
95
Member Avatar for seoudi

Create a program that displays a pyramid , square and a triangle using the multiply character “*” as follows: welcome to c++ shape for pyrasmid sqyare trinagle

Member Avatar for ashwini jadhav
0
82
Member Avatar for blsnls

I am having problems figuring out what I did wrong to my highest, lowest and average for grades entered by a user. I searched for help but have not found any. Any hint in what I did wrong would be greatly appreciated. [code] #include <iostream> #include <iomanip> using namespace std; …

Member Avatar for blsnls
0
114
Member Avatar for Ace1.0.1.

Just picked up a beginners book on C++ so i'm pretty new at this. trying to write a program to test what i have learned so far, but it's not coming out as i had hoped so i'm hoping someone can help me out constructive criticism welcomed Here it is: …

Member Avatar for Ace1.0.1.
0
106
Member Avatar for desimator55

I'm using VC++ .net to write a program for searching through files in a directory and then opening them. The only problem I have run into is opening the file. I tried using streamreader but this does not work for opening pdf files. Currently I'm using system ("start //location and …

Member Avatar for Ancient Dragon
0
270
Member Avatar for niezam

please help me solving a program about booking a ticket for a flight that need to show the seat, the price and the class

Member Avatar for vmanes
0
120
Member Avatar for ashishchoure

hi, I have one query that create process funcion retuns bool value. And i want to know the exit code of my exe which i ran through create process function. EX. [CODE] int main() { return 5; } [/CODE] this exe is returning 5. I ran that exe by createprocess …

Member Avatar for ashishchoure
0
104
Member Avatar for necrolin

If I have 2 classes a) class Business b) class Customer I want the Business class to be able to store a dynamic list of it's customers. So I thought the easiest way to do this would be to use a vector. [code] class Business { vector<Customer> customers; public: Business(); …

Member Avatar for necrolin
0
198
Member Avatar for nehemiascr

Can anyone help me with the algorithm for the height of a n-ary tree, I have been looking and could only found for a binary tree, thanks in advance.

Member Avatar for Unix*
0
646
Member Avatar for tiara

Hello guys.. i am really new to C++. I feel a bit confused with the using of const in this code. [CODE] class B { private: int x; public int func() const { return x; } } [/CODE] Viewing at that source code,, what is really functions of const ?? …

Member Avatar for Ancient Dragon
0
105
Member Avatar for maey_kich

hello, I can't figure out how to create an array that can be called from any module. Global or public sounds familiar but they don't work. Cheers.

Member Avatar for Tom Gunn
0
90
Member Avatar for soffie

Need to make a random size (x = rows, y = columns) matrix which is filled with random numbers (only 0 or 1). So, if I don't know the size of the matrix, I use dynamic array. So far I have made this far, but obviously it isn't quite correct... …

Member Avatar for soffie
0
2K
Member Avatar for dadytzu4all

hy i m new in c++ and have a problem to resolv, actually 2... anyway could anyone help me, with results an axplanations too. first one--------------------------------------------------------------------- Create a console application. Make a class "Geometry". Derive a class Circle and a class Rectangle from Geometry. Make a class Display which is …

0
49
Member Avatar for PoRco1x

Hey guys, This is my first post here :) I have to compare to strings and then continue on with the loop.. [CODE]void HighScore::removePlayer(const string& name) { int i,j = 0; cout<<"Attempting to remove " << name<<endl; while (i<d_nPlayers) { if (d_players[i].name==name) { cout<<"Found : " << name<< "at slot: …

Member Avatar for PoRco1x
0
85
Member Avatar for kiryoku

[CODE] #include<iostream> #include<conio.h> using namespace std; int n[10],i,ns; string c; main(){ for(i=0;i<10;i++){ cout<<"Enter a number:"; cin>>n[i]; } cout<<"Number to search:"; cin>>ns; n[i]=0; for(n[i]=0;n[i]<10;n[i]++){ if(ns==n[i]){ cout<<"Searched Number is Found!"; } else{ cout<<"Searched Number is Lost!"; }} getch(); return 0; } [/CODE] help pls the output is repeating...

Member Avatar for Ancient Dragon
0
95
Member Avatar for sfuo

This program asks for integers from the user and stores them into a multidimensional array that adjusts its size.

Member Avatar for VernonDozier
0
1K

The End.