Denniz 103 Posting Pro in Training

It should be:

for(int i=0, j=0;i<5;i++,j++){}
Denniz 103 Posting Pro in Training

okay i got 1. updated but im still lost in question 2. about the percent.

ohhh and i know at the end i havent called out all the variables i know how to do that its just that im soo stuck in the input.

The total admin charges is calculated as follows:

cout << percentticket/100. * ticketstotal << endl;

Remember to put a decimal point behind the 100 so that the resultant value becomes a floating point instead of an integer.

Denniz 103 Posting Pro in Training

Welcome Sarah, enjoy your stay here!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb! Jessica Alba is hot!

Denniz 103 Posting Pro in Training

Hi cynthia welcome to Daniweb!

Denniz 103 Posting Pro in Training

You can use the function strtod() to convert string to double.

Denniz 103 Posting Pro in Training

You may wanna look into OpenGL. You can download the library from the net.

Denniz 103 Posting Pro in Training

The following are the same:

char name[]
char* name
Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi thanks for your comments on my blog but I didn't let it through because it's unrelated to my blog's theme. Hope you understand. :)

Anyway, from your description of what you would like to code, I would recommend C/C++ to you.

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb! I wasn't that familiar with basic (used it around 15 years ago), but there's a Visual basic sub section here.

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

what should i change it to??

Switch the position of the two lines stated, as in:

#include <iostream>
#include <cstring>
using namespace std;
#include "SkipCard.h"
Denniz 103 Posting Pro in Training

im using Dev C++.. the code at main file has no problem.. i try without using header file..
The program can work..

So the problem is i dont know how to change it to using header file

Please see my solution above.

Denniz 103 Posting Pro in Training

There's a few problems to your codes.

Basically, to solve your error, you just have to interchange the below two lines:

#include "SkipCard.h"
using namespace std;

However, I believe the below line will give u an error:

if (input=="skip")

You should use the compare method of string instead.

Finally, it is not a good practice to do your function definition in header file. You should do function declaration in header file and put the function definition in source file instead.

Denniz 103 Posting Pro in Training

Well, most of the times people come to forums to look for solutions to their programming problems, to find help to solve bugs, etc.

UML is used during the requirement analysis and software design stage, where no coding is done yet and the problem/solution domain is still very abstract. Thus, most programming forums do not have UML / software design section, or have a section but not much traffic.

Denniz 103 Posting Pro in Training

It would be better if you also list down the languages supported by each of these sites.

Anyway, thanks for the list!

Denniz 103 Posting Pro in Training

Is there any restriction in location? Else I would be happy to help you with the interview via email (provided it is not a long one).

Denniz 103 Posting Pro in Training

Welcome fellow geek!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb, hope u find what u want here!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

yes you can. But remember to deallocate the memory when it is no longer needed to prevent memory leak.

Normally I would do something like this for dynamic allocation:

Contestant* C = NULL;
C = new Contestant;
if(C)  // test valid allocation
{
// do whatever you want here


// Memory deallocation
delete C;
C = NULL;
}
Denniz 103 Posting Pro in Training

That's a long list of requirements. From what I just browsed through, the real difficulty isn't the programming, but the kind of domain knowledge needed to make a well-designed software like that.

Just wondering, how much is your budget?

Denniz 103 Posting Pro in Training

Welcome fellow geek :)

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb, hope u find what u need here!

Denniz 103 Posting Pro in Training

Welcome to Daniweb, Denise!

Denniz 103 Posting Pro in Training

You can use any loop, be it for-loop, or while loop, or do-while loop. For the latter two, you just need to increment the counter within the loop and check for it at the condition place.

Denniz 103 Posting Pro in Training

I also started my programming using basic, but it was on an IBM XT machine with 256Kb RAM and no harddisk. Those days they have basic interpreter on their ROM BIOS.

I don't know where had you been for the 20++ years but programming and software development as a whole evolved a lot. Since then I had moved over to QBasic, then to Pascal, with some dBase and Clipper, and then to C, and then C++, and then to Visual C++ and Java and PHP with mySQL which I am still using now.

Technology evolves. We need to evolve too.

Denniz 103 Posting Pro in Training

Welcome to the forum! Hope u find what u needed here.

Denniz 103 Posting Pro in Training

Welcome to the forum! Nice intro there...

Denniz 103 Posting Pro in Training

Hi welcome to the forum!

Denniz 103 Posting Pro in Training

Its better for you to post your query in the relevant forum. Anyway, welcome to Daniweb!

Denniz 103 Posting Pro in Training

Hi welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome Michael!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!

Denniz 103 Posting Pro in Training

Welcome to the forum! Please post your question to the correct section.

Denniz 103 Posting Pro in Training

WelcOm3 tO DaNiwEb!

Denniz 103 Posting Pro in Training

Welcome to Daniweb!