49,761 Topics

Member Avatar for
Member Avatar for e_pech

Hello!! I have a FormView and I added a Tab Control... I'm able to add pages (tabs) to it but I want to be able to have a different Dialog View on each tab??? Or how can I have different controls on every tab?? I'd really appreciate all the information!! …

0
66
Member Avatar for Jennifer84

I have a general question about Diagram in VC++ 2008. If I want to draw a diagram out of a serie of numbers for the coordinates X and Y in a Diagram. Is there any classes/ built in methods for this. - Is this very difficult things to do in …

Member Avatar for mitrmkar
0
296
Member Avatar for Kob0724

I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 …

Member Avatar for Kob0724
0
2K
Member Avatar for shakilaf

Hi All, I am using RWZoneSimple object and RWTime object to check whether a given Date is falling under DST (Daylight Saving Time) or not when my server (HP-UX system) is in Non DST time (by having TZ=US/Arizona). I have created RWZoneSimple with the date that falls in DST ("05302008"// …

Member Avatar for jephthah
0
165
Member Avatar for wellibedamned

okay, i know i might be boring with my questions but could someone tell me how can i read an array of floats mixed with ints and then print them out same as they were on input...? typecasting thing again? anyone knows a good book i could use to stop …

Member Avatar for jephthah
0
145
Member Avatar for Cybulski

I want recursively fill members of one structure, it looks like this: [code=cplusplsus] struct OPTIONS{ string sDirectoryName; vector<string> vExtensions; int uOperationId; } structCurrentDir; [/code] after filling all members I need to push this structure to another vector: [icode]vDirectories.push_back(structCurrentDir); [/icode] But then I need reset all members and I have problem. …

Member Avatar for Duoas
0
103
Member Avatar for WesFox13

Hey, I need a little bit of help figuring out how to find the minimum and maximum of a particular data in a file. Should I treat the file I'm opening as an Array in order to find it or is there a certian function that can do this?

Member Avatar for Duoas
0
267
Member Avatar for rockiecool129

hi, Please tell me what the below mentined code is doing? If i pass String s as `my name is "xyz. and " i am writing `. what should be the output. Thanks in advance void parse(Block<String>& f, String s) { int inquote = 0; int nf = 0; int …

Member Avatar for tesuji
0
81
Member Avatar for roniswar

Hello, as an exercise in c++, I should make a parking lot, the classes are: Transport( with local protected variables color and max_velocity), Car, inherites from Transport(with extra variable model), Truck, inherites from Car(with extra variable model weight), Bike inherites from Transport(with extra variable model gear), and Parking which is …

0
55
Member Avatar for Ravenn

mm.., hello. First, i'm kinda new to this... kinda, anyway, i'm supposed to write a prog that handles large numbers, like 200 digits long, by storing them in a string of characters. it's supposed to have a class with functions for all the mathematical operations, reading, and writing, maybe into …

Member Avatar for Ravenn
0
103
Member Avatar for savinki
Member Avatar for ithelp
0
124
Member Avatar for savinki

how can I do this?? can someone help me [code] char * abc = "as,df,ert:we,rt,yu:ee,rr,tt"; Class x { char * a,*b,*c; } vector<x> vtr; I want to extract data from abc like, while(there is a ":") { x.a= as; x.b=df; x.c=ert; vtr.push_back(x); }[/code]

Member Avatar for Radical Edward
0
254
Member Avatar for ulquiorra

Hello all, I'm new to hash tables etc. and for some schoolwork I need to make one. The hash table and hashfunction itself aren't the problem. The "problem " I wish to solve lies in the display function of my code. I like to write a function so that it …

Member Avatar for ulquiorra
0
2K
Member Avatar for linux0id

Hello everyone! I am learning sound programming on Linux. In my app I am using ffmpeg to decode the audio, and then ALSA to pass it on to speakers. So far everything is fine - the packets are retrieved, stored in a queue. After that, the packets are read from …

Member Avatar for linux0id
0
121
Member Avatar for monkey_slap

I ran into a roadblock developing my code for an assignment to sort a linked list as it is entered (insertion sort). We've had sketchy classes lately so the idea of linked lists is really rough for me at the moment because it's a little hard to understand. This assignment …

Member Avatar for Lerner
0
169
Member Avatar for lahom

hi i have an application where the user need to save his information. the first time he saves...a save dialog appears and the process goes as normal . but here is my question.. if he add any modification to his info and press the save button again ...i dont want …

Member Avatar for Duoas
0
70
Member Avatar for Aldayne

Hello, everyone. I need help with a bank account class. I was supposed to create a class called Account which houses an attribute called balance that is protected and returns a double data type. There are some other things required of me which have been completed in the coded below. …

Member Avatar for Aldayne
0
145
Member Avatar for wellibedamned

Okay, so i have an idea...that looks like it should work. I'm supposed to be able to multiply for example: 1234567812345678912345678*1234562345673456. My idea was to put each number into a string, and then make a matrix to store the values of each digit multiplied by each digit... i'll put an …

Member Avatar for iamthwee
0
410
Member Avatar for TeCNoYoTTa

Hello all I am beginner in C++ and i have some questions In many languages there are included libraries for many uses such as libraries for downloading files / uploading files using ftp connection ...etc but in C++ i cant find these libraries my question ....... must I use libraries …

Member Avatar for TeCNoYoTTa
0
153
Member Avatar for Grub

Hi, I have the following class and main method: [code=cplusplus] class Employee { vector<string> v; string name; int i; public: Employee(){} Employee(string &n): name(n), i(0){} void read(vector<string *> &vec) { string n; for(int i = 0; i !=3; i++) { cin>>n; Employee e(n); vec.push_back(&n); } } }; int main() { …

Member Avatar for Grub
0
263
Member Avatar for QuantNeeds

Help - I am having the following errors repeatedly so I know it is a consistent mistake I am making but I just can’t see what it is. I already fixed many other errors and now it’s just this.....so close...... :confused: My errors are the following. I did not put …

Member Avatar for QuantNeeds
0
195
Member Avatar for Anita Jennifer

What are the major differences between C and C++ programming languages??

Member Avatar for Anita Jennifer
0
96
Member Avatar for ice661666

I am working on code to calculate the factorial using below function: int factorial (int num) { if (num==1) return 1; return factorial(num-1)*num; // recursive call } And I need to calculate the numbers from 1 to 255… The problem occurs when it reaches number 35 and above, it starts …

Member Avatar for ice661666
0
157
Member Avatar for Jennifer84

I have a code like below that when pressing a button, panel1 and labelText1 should be seen. Then I will put the process to "Sleep". After this, labelText1 should be emty ("") and labelText2 should write "TextMessage2": Then I wil put the process to "Sleep" again. And last put panel1 …

Member Avatar for Jennifer84
0
129
Member Avatar for jrkeller27

First time posting, this seems like a wonderful community. Okay, so I'm new to C++ (mostly worked with java) and I'm trying to write a program that will read in a plain text file (a short paragraph) and take and place each word in the text file and place it …

Member Avatar for William Hemsworth
0
1K
Member Avatar for people123

Hello, I have recently installed Microsoft Visual C++ 2005 Express Edition, and right off the bat when trying to make a new project I find myself unable to make a Win32 Windows Application, when I go to check the bullet that says "Windows Application", the option is grayed out. I …

Member Avatar for ismetteren
0
129
Member Avatar for savinki

How can I type cast char* to a long value? e.g. char * abc ; long xyz; xyz = abc????

Member Avatar for Radical Edward
0
228
Member Avatar for jonbyrd

Know of any good ebooks? : I have recently purchased the resell rights to about 600 ebooks so that I can post them on my website for my registered members only. I've purchased all of these ebooks for under $20. I'm just wondering if there is any ebook out there …

Member Avatar for Nick Evan
0
37
Member Avatar for Driklyn

I'm trying to create a class inside a header file so that all my files can access that 1 class and only use that one. This is what I have so far. ---------- Window.h: [ICODE] class Window { public: Window(); ~Window(); /* FUNCTIONS */ HWND OpenWindow(LPCTSTR, int, int); /* VARIABLES …

Member Avatar for Driklyn
0
90
Member Avatar for TheBeast32

Hi, I recently watched the movie Iron Man. While making his first suit, Tony Stark apparently is using C++ on the laptop in the background. Is this C++ and if not what is it?

0
29

The End.