Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
25% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
2 Commented Posts
0 Endorsements
Ranked #2K
~9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for James19142

in this program i'm writing the functions that have qt classes as parameters Qlabel, QSpinbox, etc. are causing compile errors, my other functions work fine i get the same 2 errors for each QT object i use as an argument this is the function definition that uses QT classes as …

Member Avatar for James19142
0
363
Member Avatar for dan_code_guru

Ive been trying to code a GUI application in qt but im having trouble trying to get a button work. homewindow.h: [CODE]#ifndef HOMEWINDOW_H #define HOMEWINDOW_H #include <QWidget> class homeWindow : public QWidget { Q_OBJECT public: homeWindow(); ~homeWindow(); void init(); private slots: int when(); private: QWidget *aWidget; }; #endif // HOMEWINDOW_H[/CODE] …

Member Avatar for chikkupa
0
156
Member Avatar for beau_nerdathen

I have a project about making pascal triangle using recursive function. This is the example output: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 Hint:(x+y) n=>exponent. *Give me an idea about this project. Thanks!

Member Avatar for mike_2000_17
0
5K
Member Avatar for mbouster

Dear all I have the following code [CODE] void initializeData() { Customers *CustArray; CustArray=new Customers[150];//allocate 150 memory locations of class Customers Flights *FL=new Flights[150]; } /*End Initialize Data fuction*/ /**********************************************************************************************************************************/ /*Backup Menu implementation*/ void backupfiledefaultfilename() { ofstream file_ptr; // Declares a file pointer. file_ptr.open(“backup.bak”, ios::out); if (!file_ptr) { cout << …

Member Avatar for chikkupa
0
107
Member Avatar for mbouster

Dear all I have a function and withing I want to call a member funtion. More specifically I have a menu inplemented the code below. please note the commented line [CODE] case '1': //flightcode(); break; case '2': cout<<"Enter the Customers National Number ID"<<endl; cin>>ni; // CustArray.showCustomers(ni);//given the customers ID break; …

Member Avatar for mbouster
0
2K
Member Avatar for Badoodhi
Member Avatar for alexchen
-5
117
Member Avatar for kyros

hello everyone my aim is to count different words from text file and write them to output file with the number of occurences.but my code didn't work,I don't know the mistake but I think my read and write functions cause the problem.any help or suggestions? [CODE] #include<iostream> #include<string> #include<fstream> #define …

Member Avatar for WaltP
0
210
Member Avatar for jlianne

Is there someone who can help me with this? Write a C++ program which will read in a list of numbers, find the average of all numbers, the average of thepositive and negative numbers, and the largest element. Your program should contain at least four functions -- one to read …

Member Avatar for jlianne18
0
155
Member Avatar for begineer

hi guys ! i had this code snippet from the net...so i m trying to understand the code but m not getting those points plz help me 1.what does return 2,return 4,return 6 means in this code? 2.why we have case '#' ,why '#' opreator is assigned to stack[top]; 3.if(isoperator(symbol)==0) …

Member Avatar for begineer
0
113
Member Avatar for flasp

I need help with this problem. The assignment says: "Do programming Exercise 6, but instead of declaring an array of three CandyBar structure, use new to allocate the array dynamically". Here is assignment 6: [CODE]#include <iostream> using namespace std; struct CandyBar { char candyName[25]; double candyAmount; int twoCandyWeight; }; int …

Member Avatar for flasp
0
163
Member Avatar for GRENDY

hi evey one my name is ahmmad and I,m learning c++ but there thing i don,t undarstan so can you help me in this !??? I leaing the struc in c++ and list but whene i see a list example i have proplm whene i use thr strut and lis …

Member Avatar for chikkupa
-1
220
Member Avatar for Naveen Haran
Member Avatar for chikkupa
-1
86
Member Avatar for Rookie09

Sup guys .. So , the thing is that i need to define a preprocessor directive so i can compile correctively an SQL pseudocode into C++ . VALUES (value1, value2, ...);//cant figure out a way to take the value1,...,valueX out value1,value2,...,valueX is string or integer typed expression for example : …

Member Avatar for Rookie09
0
168
Member Avatar for mbouster

Dear all, I would like to ask you how to initialize the following: I want to initialize a class inside another class. How I will be able to do so? An example: [CODE]/*Class Date*/ class Date { public: Date(){} // default constructor int day;//day of the month valid till 31 …

Member Avatar for mbouster
0
280
Member Avatar for Suramachandran