351 Posted Topics

Member Avatar for Code Shark

I can't get access to a compiler atm but I will tell you no it don't work.

Member Avatar for Salem
0
101
Member Avatar for Balinor

Look at your line 60 and line 66. This is not the way you decrement the value. You should do this: [CODE] STAMINA = STAMINA - 2; [/CODE] or this: [CODE] STAMINA -= 2; [/CODE]

Member Avatar for Denniz
0
90
Member Avatar for jazzyangelz

Have you tried to compile? Your header file needs the statement "#endif" at the end. The inclusion detection system works in this way: [CODE] #ifndef FUNCTION_H #define FUNCTION_H // Put all your declaration here #endif [/CODE] The reason for doing this is to prevent the compiler from parsing the same …

Member Avatar for Denniz
0
146
Member Avatar for techman23
Member Avatar for nishant52
Member Avatar for jrcharbonneau
Member Avatar for robgeek

This is where the problem is: [CODE] for(int i=0; i<MAX; i--) cout<<Input_String<<endl; [/CODE] You initialize variable "i" to zero, decrement it in every step, until it is smaller than MAX (which is 100). So, "i" would go from 0 to -1, -2, -3, -4 until to some large negative number …

Member Avatar for robgeek
0
134
Member Avatar for Se7Olutionyg

Take away this line: [CODE] return displayGrade; [/CODE] As for the loop, it will keep on prompting you for the next score, until you enter -1 then it will come out of the loop.

Member Avatar for Denniz
0
109
Member Avatar for Se7Olutionyg

[QUOTE=Se7Olutionyg;717193]I don't know how to write the divide by zero function, and I don't know why the void function to display the instruction does not run too, [/QUOTE] Anything divide by zero will become infinity. So you need to cater for the case whereby the operator is "/" and the …

Member Avatar for Denniz
0
275
Member Avatar for wickedsunny
Member Avatar for vivek_web
Member Avatar for LordSlyDante

Welcome to Daniweb! So u wanna build transformers? It's always good to have dreams :)

Member Avatar for LordSlyDante
0
160
Member Avatar for kattastic

You need to seek help from a counsellor, not in Daniweb where we communicate better with computers than with humans.

Member Avatar for ZZucker
0
160
Member Avatar for mybluehair2

[QUOTE=mybluehair2;716694]I've already read that, and it tells me just the things I dont really need to know right now. It doesn't give me a good example of displaying text, and it doesn't say anything about if statements. I need to be able to say: if (money > 0) then say …

Member Avatar for marco93
0
119
Member Avatar for efr100

You can post whatever queries you have here, there are many helpful people in Daniweb!

Member Avatar for sidatra79
0
79
Member Avatar for laurencn106
Member Avatar for kimanisml
Member Avatar for bondingmuc
Member Avatar for ddanbe

Hi welcome to Daniweb! I had learnt all those languages you mentioned except modular-2.

Member Avatar for ddanbe
0
57
Member Avatar for o`nyi
Member Avatar for jazzyangelz

I saw a very similar post with a very similar question here just now. Classmates? :P Anyway, the rules here is that you need to try out yourself, show us what you have done, what problems you encountered, and then we will help you to solve the problems. Don't believe …

Member Avatar for Denniz
0
88
Member Avatar for MylesDBaker

I did not go through the entire post, but I notice your myfunction.h has something wrong. The first few lines of declaration did not state the return type and the required parameters. Also, the inclusion detection should be at the very beginning of the file.

Member Avatar for Denniz
0
247
Member Avatar for mo16

It would be good if you can attend some kind of open house or course preview talk at those university to find out more about the prerequisite. Most Comp Sci courses do not need prior programming knowledge, but as you go along there will be some application of mathematics such …

Member Avatar for Denniz
0
140
Member Avatar for riconeill
Member Avatar for idontexist
Member Avatar for ndumbo

Welcome to Daniweb! U can post your queries in the java section.

Member Avatar for Denniz
0
18
Member Avatar for dasol
Member Avatar for jbennet
0
62
Member Avatar for Se7Olutionyg
Member Avatar for m_mouj

It is a place for people to find IT related jobs because those technology companies will be having their booths there for recruitment purposes.

Member Avatar for Denniz
0
110
Member Avatar for Shenaya
Member Avatar for Zr7
Member Avatar for mIn08
Member Avatar for Denniz
0
51
Member Avatar for RODKIMBER
Member Avatar for ajaykumartewari

Hi Ajay, welcome to Daniweb! U can contribute your part or post your query at the java section.

Member Avatar for Jx_Man
0
65
Member Avatar for Se7Olutionyg

1. Please use "int main()". You are returning 0 at the end of main(), yet you declare that main() return void. 2. You lack a closing brace "}" and a return statement for do_next_op().

Member Avatar for unbeatable0
0
90
Member Avatar for Alex Edwards

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, …

Member Avatar for sidatra79
0
162
Member Avatar for ZombieCoder

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).

Member Avatar for sidatra79
0
208
Member Avatar for NinjaLink

Are you sure your program runs fine? At the first glance, there's so many errors in it: 1. Your main function is passing uninitialized variables' values like index and insertItem into removeAt() and insertAT() functions. 2. Inside insertAt() function, index and insertItem are treated as local variables. That's very bad …

Member Avatar for NinjaLink
0
413
Member Avatar for jammy's

What's the purpose of this thread??? To show an inferior implementation of stack?

Member Avatar for Denniz
0
327
Member Avatar for blade_costic

Firstly what do you want to develope? Do you need only client-side coding, or do you also need server-side coding? If you want to create simple website with no database interaction, you can learn html, javascript, css. If you require some database interaction, you would need to do server-side coding, …

Member Avatar for Narue
0
184
Member Avatar for laxgrl22

Where's your switch statement? You should do something like this: [CODE] switch(choice) { case 'A': if(hours > A_ALLOWED_HOURS) { // Compute charges } else { // Charges is equal to A_FIXED_RATE } break; case 'B': if(hours > B_ALLOWED_HOURS) { // Compute charges } else { // Charges is equal to …

Member Avatar for Denniz
0
93
Member Avatar for sdhariwal

I wouldn't say PHP has no future. It is one of the most popular and widely used server-side scripting language. As for whether it is a programming language, it all depends on what's your definition of a programming language. Traditional programming language (eg C++) requires compiler to make the source …

Member Avatar for R0bb0b
0
147
Member Avatar for cakka

I believe you can get visual studio .Net express edition free also. I seem to have the installation CD lying around my desk. Anyway, u need to know what u wanna develop first. For web server side application, u can use php, asp, ruby on rails, etc. For desktop application, …

Member Avatar for robertek
0
202
Member Avatar for walsug

You can use CCriticalSection object if you are using MFC. They are less expensive than mutex. Else, you can use InitializeCriticalSection(), EnterCriticalSection() and LeaveCriticalSection() for the same purpose.

Member Avatar for Denniz
0
138
Member Avatar for JG42122

Other options (online ones) would be sites that generate frequent updated contents and attracting lots of traffic, and earns from ads revenue.

Member Avatar for Denniz
1
110
Member Avatar for yogi1960
Member Avatar for Run.[it]

I believe you still need to do programming, especially when you are at an entry level software developer job. Software design and programming are closely related, and having strong programming skills provides a sound foundation for software design.

Member Avatar for Denniz
0
89
Member Avatar for Acquire

It really depends on your work nature and environment. If you are working with team members that are stationed overseas, or integrating with systems where their developers are not local, you would need a lot of communications. Also, we need to document our technical specifications and source codes so that …

Member Avatar for Denniz
0
75
Member Avatar for hi_sourabhr29
Member Avatar for flywma

It depends on your budget and your requirements. Do you want people to reserve online via internet, or is the software just keeping track of reservation status made through phone calls?

Member Avatar for Denniz
0
67

The End.