49,757 Topics

Member Avatar for
Member Avatar for rakesrai

I m using Qt, I have multiple forms. The data from any form has to be sent using socket. also data coming over the socket has to be displayed in a main form. what could be my design so that i can share the socket connection among different forms also …

Member Avatar for Ancient Dragon
0
75
Member Avatar for zsj

Hi , im working with ISA I/O card. previously i have only done communication through serial port and that was pretty simple using c++ as well as visual basic. now i hav no idea about how to communicate with this hardware throug ISA slot .for now i simply want to …

0
50
Member Avatar for sjewenp

i posted a similar thread a few days ago re: this program, but i can't get it to work with functions so i'm giving up on them. i need to write a program that asks a user for a specific number of names, then asks for the names, (last first) …

Member Avatar for WaltP
0
86
Member Avatar for gretschduojet1

Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what …

Member Avatar for gretschduojet1
0
1K
Member Avatar for krnekhelesh
Member Avatar for b_naren

hi can anyone suggest a creative project which can be done in a span of 3-4 months using c++??

Member Avatar for krnekhelesh
0
48
Member Avatar for Dyamid

I would enjoy some help in directing my search for C++ code in a more specific area. I only have two years of college level C++ programing expirence under my belt so i would love to keep most of the coding simple. I want to create a function that moves …

Member Avatar for Dyamid
0
107
Member Avatar for gauravsharma132

hi, can anyone give me some tips to make pascal triangle program. thanks in advance:)

Member Avatar for jwenting
0
46
Member Avatar for mauro21pl

Hi I have a piece of code. It's print for me the numbers I enterd but in reverse order that I would like to. How may I change that? thx [CODE] #include<iostream> #include<conio.h> using namespace std; struct Node { int data; Node* link; }; class Q { public: Q(); void …

Member Avatar for Ancient Dragon
0
84
Member Avatar for mauro21pl

Hi I try to fill linked list with names. I have one error could anyone fix it. [CODE] #include<iostream> #include<conio.h> #define MaxSize 30 using namespace std; struct Node { char name[MaxSize]; Node* link; }; class Q { public: void get_input(char array[]); void print_input(); private: Node* head; void display(Node* ); }; …

Member Avatar for mauro21pl
0
97
Member Avatar for vikter
Member Avatar for vikter
0
109
Member Avatar for bilalb1

hi I have the following problem... I have a program (c++ code) which updates some logs ...(i am using linux as the operating system) I was wondering that is there a way by which i can execute this code/program after every two (or what ever time period expires )by creatiing …

Member Avatar for bilalb1
0
110
Member Avatar for richerTextBox

Does anybody know if there's a way to interact with a printer that prints onto CD's? I've googled it and haven't found anything promising. The app that I'm writing is going to need it. It seem that only the manufacture of the printer can interface with it. Any ideas?

Member Avatar for Ancient Dragon
0
79
Member Avatar for mauro21pl

Hi Why is that wrong [CODE=cplusplus] #include<iostream> #include<conio.h> using namespace std; struct Node { char your_name; Node *link; }; typedef Node* NodePtr; class Q { public: Q(); void get_input( ); void display_input( ); private: NodePtr head; }; int main() { Q name; char your_name; cout<<"What is your name: "; name.get_input( …

Member Avatar for Ancient Dragon
0
146
Member Avatar for satya_mls

hai this is the most important and use full material on C++ and data structures. it is usefull for bot Engineering and Graduate students. Links: <url snipped> Download it as a free Enjoy

Member Avatar for Ancient Dragon
0
44
Member Avatar for ndeniche

i actually feel like a n00b asking this, but i'm a little of what you might call rusted in this stuff, since i hadn't need to handle files for a year now... i searched for some guide, but i only found out how to [B]open[/B] a file... like this:[code=c]ofstream *pfile; …

Member Avatar for Hamrick
0
128
Member Avatar for mauro21pl

HI I am trying to combine(I think that is the word) a node and a class together.Could anybvody try to find the error I have thx [CODE] #include<iostream> #include<conio.h> using namespace std; struct Node { int data; Node* link; }; typedef Node* NodePtr; class Q { public: void insert_data(int data); …

Member Avatar for Hamrick
0
96
Member Avatar for hapiscrap

i get 3 build errors when i use the numbers, the simple payroll program aint so simple for me im using java tools in x-code [code=cplusplus] #include <iostream> using namespace std; main() { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "ENTER …

Member Avatar for hapiscrap
0
135
Member Avatar for mauro21pl

[CODE] struct NodeType { char name[MaxNameSize]; NodeType* next; // A pointer to the next person in line }; void GetInLine(char new_person[]); int main(void) { char X[MaxNameSize]; Q q1; q1.GetInLine("Joe"); void Q::GetInLine(char new_person[]) // This function causes a person // to get in line in the appropria spot. { NodeType* temp; …

Member Avatar for Ancient Dragon
0
105
Member Avatar for AdventChildren0

Ok so far I got this, it takes a string of characters and prints out their binary representations. I am semi new to C++ and I cant for the life of me figure out how to get the hexidecimal and octal representations of the input. Here is the code so …

Member Avatar for Bench
0
104
Member Avatar for jaepi

Hello there, I have here a program that reads a txt file taking each word in three columns separated by a comma and storing it to a vector. It has a filter that whenever it sees a comma, it seperates the word from each other. My problem is, whenever I …

Member Avatar for jaepi
0
124
Member Avatar for dev.cplusplus

Hi to all, I hope uyou can help with the following situation i have: I have to write a function that receives a parameter, that is unknow until runtime, meaning one of the parameters could be: CString, int, double, bool or something else The function receive additional parameters that are …

Member Avatar for Ancient Dragon
0
74
Member Avatar for Arctic wolf

Hello everybody, I wrote a program that can save some data into file and then read it from there,the weird thing is that it loads correctly from the file only when it's in debbug mode,and doesn't do it at all when it in release mode. Here are the code fragment: …

Member Avatar for Arctic wolf
0
303
Member Avatar for pokemon123

Write a C++ program for the classic hangman game - guess the word without getting more than 6 letters wrong. The user is informed of the number of letters in the word to be guessed. A wrong guess of the letter would cause additional part of the hangman figure to …

Member Avatar for iamthwee
0
95
Member Avatar for n.aggel

Hi, i 've recently done a university project requiring me to construct a data structure{ a heap}.... Now that i 've finished the programming task , i am thinking how can i measure the programm's performance..... I will populate my data structure with 2 million random elements, and i will …

Member Avatar for n.aggel
0
134
Member Avatar for Geometroid

Hello, I'm new to the site here. I say this because there seems to be a fair bit of etiquette here that I could step on so if I do, that's why. Anyhow, I had to take C for my software certificate and since I wanted to take C++ and …

Member Avatar for Tight_Coder_Ex
0
118
Member Avatar for thewizard397

Hi, I'm looking for a good program writing tools C++, have any suggestions?

Member Avatar for Ancient Dragon
0
114
Member Avatar for kodiak

Hi, these classes for making a MuD are driving me crazy!!! heres my starting code, haven't had more than 15 minutes to work out some basic stuff, just trying to start small, get it to compile, then add stuff... [code=c++] #include<iostream> #include<cstdio> #include<windows.h> #include<fstream> #include<cstdlib> #include<ctime> using namespace std; int …

Member Avatar for Bench
0
220
Member Avatar for satya.vijai

Hi, I have a text file which looks in the following format =====c:\text.txt ====== AAAA BBBB ... ... ================== I have to read each line of the text file into a buffer, and print it, which I did in the following way. [code] #include "stdafx.h" #include "stdio.h" #include "string.h" #define …

Member Avatar for vijayan121
0
154
Member Avatar for NycNessyness

I'm currently having a problem with having where it says DailyChild on my code to go up when the user adds a number. For example if they type 1 it should say 1.50. If they enter 2, it should say 3.00. But no matter what I do, it keeps printing …

Member Avatar for NycNessyness
0
874

The End.