Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~12.4K People Reached
Favorite Tags
Member Avatar for wilsonz91

Hello, First off, i did try looking around the forum but i couldn't understand. Here's a few question which i need help with: 1) (adding node at head) i don't know how does the head will hold the reference to the next node, the code is like this: [CODE] //at …

Member Avatar for JamesCherrill
0
2K
Member Avatar for wilsonz91

Hello, I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says: Qt: Could not initialize OLE <error 80010106> on the console but since it has reached the end of the program where it says 'press any key to …

Member Avatar for Terminator1337
0
511
Member Avatar for wilsonz91

Hi, I wrote a simple windows form in VC12 which works fine. However, I am unable to terminate it properly. Upon clicking either the 'X' (close button) or a button I put in with the code, Application::Exit(); The GUI disappear/closes but the process is actually still running when I check …

Member Avatar for gusano79
0
239
Member Avatar for wilsonz91

Hey guys i really need your help. My laptop is an Acer Aspire 4937G model. It came with Windows vista. However i recently upgraded it to Windows 7 and there was some slight problem eg unable to read from pen drive but able to read EHDD. So i decided to …

Member Avatar for wilsonz91
0
164
Member Avatar for DallasFan3

I am trying to make a program that outputs a triangle and the program then should asks the user to enter the size of a triangle to print on the screen. After getting this number, the program should then print a triangle to the screen by printing a series of …

Member Avatar for wilsonz91
0
1K
Member Avatar for wilsonz91

Hi, I read a few post on passing arrays from one class to another but i can't understand. I tried doing it and i'm stuck with it, would really appreaciate it if you can help correct the following code: [CODE] //This is my super class public class Transport { protected …

Member Avatar for JamesCherrill
0
6K
Member Avatar for wilsonz91

The laptop i'm using is an Acer Ferrari F0200 running on windows 7. It does not have wireless wifi link built into it. So i bought a wireless adapter: Aztech Wireless-N USB 2.0 adaptor(wireless-N WL552USB). I can't install it since the laptop doesn't have a DVD driver but just from …

Member Avatar for crunchie
0
126
Member Avatar for wilsonz91

Hi, I would like to know if I could do this: if i were to enter 5 numbers, it would go like this: 5 4 3 2 1 I want to know if I can do it like: 54321 Basically I don't want the insertion to go to a new …

Member Avatar for WaltP
0
1K
Member Avatar for wilsonz91

Hello, I know i'm suppose to ask programming questions but i'm stuck on how to do it in the first place, the question is: You are given 4 information-gross pay, number of extra hours worked, the hourly pay rate, and the income tax rate. Calculate the overtime payment: Overtime payment …

Member Avatar for thomas_naveen
0
125
Member Avatar for wilsonz91

Hi, If I were to write a program as follow: [CODE]if (x>90) cout<<"Excellent"<<endl; else if (x>80) cout<<"good"<<endl; else if (x>50) cout<<"average"<<endl; else cout<<"bad"<<endl;[/CODE] And i want to convert it to using switch case, how should i do it? I know how to use switch for constants like 1,2 and characters …

Member Avatar for abhimanipal
0
142
Member Avatar for wilsonz91

Hi, My problem here is that, I want to add up the total of the few different items that are entered. I have no idea how to add them up, please offer some suggestions, thanks [CODE]#include<iostream> #include <windows.h> using namespace std; float weightcount(float w); float distancecount(float d); int main(void) { …

Member Avatar for wilsonz91
0
155
Member Avatar for wilsonz91

Hi, I know how to draw basic flowchart but I have no idea how to link it to different function. Currently my program has 2 functions and another main function. Both the 2 functions are to receive and return a value to the main function. How do I draw it? …

0
65
Member Avatar for wilsonz91

Hi, I recently bought a book-The Complete Reference C++ by Herbert Schildt. The first part explains about the similarities about C++ and C. The syntax used is different from the one my lecturer is teaching. eg: cout<< is replaced by printf cin>> is replaced by scanf I would like to …

Member Avatar for wilsonz91
1
193
Member Avatar for wilsonz91

Hi, My friend have a problem with running c++. She's using windows vista home basic. She's able to install C++ and run it but when she tries to launch any program she wrote, it pops out saying that it has a compatibility issue with this version of windows. Any ideas …

Member Avatar for Ancient Dragon
0
160
Member Avatar for rookanga

I am very new at this and I tried to look it up on google and that didn't help so I was wondering (and I know that you have to use shapes, to use a flow chart) how do you make a flow chart. to be more spefic the shapes …

Member Avatar for wilsonz91
0
145
Member Avatar for wilsonz91

Hi, I have a problem here with the c++ if statement. if (adult=1) { hotel=(adult*hotel)+(children*0.5*hotel) +(baby*0); break; } else if (adult=2) { hotel=(adult*260*0.85) +(children*0.5*260) +(baby*0); break; } else if (adult>2) { hotel=(adult*hotel*0.8) +(children*0.5*hotel) +(baby*0); break; the above is a small part of the code i'm doing. Problem here is, It …

Member Avatar for wilsonz91
0
114