143 Posted Topics

Member Avatar for clerisy
Member Avatar for bouldermash

[QUOTE] negaAr[x]; // What's this statement supposed to do? It does nothing. posiAr[x]; // Same with this one. [/QUOTE] What WaltP wants to say is why have you taken an array here? Also you are not doing any computations on it. posiAr and negaAr should not be arrays bt simple …

Member Avatar for aashishsatya
0
88
Member Avatar for SmackTubby

You are re declaring lettergrade1. You don't need to say string inside your if else blocks. Also , since you only want a single character i.e. A,B,C,D, F ..why not use a char instead

Member Avatar for SmackTubby
0
225
Member Avatar for jackbauer24
Member Avatar for jackbauer24
0
88
Member Avatar for umair jameel

Its the [B]fibonacci series[/B]. You will find a lot of information about it on the web. Try reading some stuff and start coding. If you are stuck somewhere we will help you.

Member Avatar for DJSAN10
0
151
Member Avatar for DJSAN10

Was there any specific reason IBM decided to start loading BIOS into memory from 640k rather than from the beginning( 0th byte) ?I tried searching on the Internet but did not get a satisfactory answer.

0
120
Member Avatar for mcddewitt

You don't give the datatype when you call a function. Your code should be : [CODE]sum = count(intArray[i])[/CODE]

Member Avatar for subith86
0
225
Member Avatar for newuser23

[QUOTE]The later versions of windows have a partition manager program in them but my advice would be to look at some of the partition manager programs on the market. try googling 'partitiomanager' or similiar. M [/QUOTE] You could use GParted. You wil get tutorials on how to use it online

Member Avatar for Pjieter
0
116
Member Avatar for complete

Here's another screen recorder software for your understanding. Enjoy...!! :) [url]http://www.screencast-o-matic.com/[/url]

Member Avatar for DJSAN10
0
204
Member Avatar for pygmalion

Unix Error message : [B]% man: why did you get a divorce? man:: Too many arguments.[/B]

Member Avatar for WolfShield
1
516
Member Avatar for jt_4285

Apart from what stultuske said , I think you are executing static_demo class. Instead run static_demo1 class. Also you need to create object of static_demo in main(). What is x1 ? You should be calling it as static_class.show().

Member Avatar for stultuske
0
247
Member Avatar for ahp@aol.in

This is because ,in this case , printf() is right justified i.e. it works from right to left.

Member Avatar for jumbowat
0
804
Member Avatar for subbudaita

To still answer your question. Above code does not create an object of the given class. You can consider class as a template as to what your object will look like. Using this class you can create an object in some other function (where you wish to use it) . …

Member Avatar for tomtetlaw
0
129
Member Avatar for gourav1

21 : p2=fopen("file2.txt","r"); You are opening it in read mode and trying to write

Member Avatar for gourav1
0
275
Member Avatar for naz1234

Initially choice = 0, and in the first iteration itself while condition is false. Now here you can use a [B]do while[/B]. Also put the switch case inside the while loop as pointed by Sky Diploma

Member Avatar for naz1234
0
154
Member Avatar for naz1234

Beacuse your two statements are contradictory : [B]while(hari < 1) [/B] and [B]else break[/B] Make the change that zeroliken just mentioned. Also change your while to while(hari > 1). You will not require the else part also in that case

Member Avatar for DJSAN10
0
136
Member Avatar for Stein102

Paste the entire code. Is there an error ? Tell exactly what it is that is not working.

Member Avatar for dmanw100
0
137
Member Avatar for skylinepkr
Member Avatar for DJSAN10
0
179
Member Avatar for shibu2all

Refer to this similar thread [URL="http://www.daniweb.com/software-development/c/threads/405549"]http://www.daniweb.com/software-development/c/threads/405549[/URL]

Member Avatar for Shardendu
0
137
Member Avatar for Karlwakim

I think if you understand C++ concepts well, Java should not be a problem. It will be even simpler. The only difference will be in the syntax which is a matter of practice.

Member Avatar for Karlwakim
0
437
Member Avatar for Ararat

I am not sure of this. But see if you can use the following somewhere [CODE]scanf("%[^\n]");[/CODE] This code skips new line

Member Avatar for DJSAN10
0
8K
Member Avatar for km2011
Member Avatar for km2011
0
2K
Member Avatar for anita_86

This might help answer your questions [url]http://users.aber.ac.uk/auj/voidmain.shtml[/url]

Member Avatar for anita_86
0
160
Member Avatar for krehman143

Well I do know about cricket so can help you but your question is too vague. What i feel is you enter number of 6s,4s,3s,2s,1s and dots. Also you need to enter number of balls played. You take this information from user. Now you calculate the total runs, average and …

Member Avatar for PrimePackster
-2
161
Member Avatar for gourav1

@gourav1 You need to do at least some search by yourself dude. If you don't understand anything from what you have read, then you may post your doubts here. You cannot simply ask for links around here. No one will do the typing for you in the search bar. You …

Member Avatar for gourav1
0
159
Member Avatar for manhthaodn

You can first Convert your decimal to binary and then group them into digits of four and use a switch case for your sixteen hexadecimal digits.That is just 1 way of doing it.I suggested it so that you can use your above program for the same.

Member Avatar for WaltP
0
393
Member Avatar for gourav1

In simple terms you can assume a buffer to be a temporary storage area. Think of it in this way, suppose you bring a book from place A and give it your friend to keep it in place B. By the time your friend goes to place B ,you fetch …

Member Avatar for gourav1
0
144
Member Avatar for akshatha.ullur

You can try using something like this [URL="http://www.aspose.com/categories/.net-components/aspose.total-for-.net/default.aspx"]http://www.aspose.com/categories/.net-components/aspose.total-for-.net/default.aspx[/URL]

Member Avatar for DJSAN10
0
144
Member Avatar for morred

[QUOTE]ryggsackArray[arrayCounter] = s;[/QUOTE] I think that is where your problem lies.Try using a copy constructor

Member Avatar for morred
0
157
Member Avatar for kartik bodala

Basically, because if you try to find out in which language your operating system is written into,you can probably get your answer.Java is designed for the web.C on the other hand is for interaction with the hardware.You CANNOT write an operating system in Java.C is the base for System programming.If …

Member Avatar for Webmastergrace
0
181
Member Avatar for DJSAN10

Why do we have to suffix long literals by 'L' or 'l' even though we have specified the datatype ? Does it serve any special purpose?

Member Avatar for DJSAN10
0
158
Member Avatar for programing

I guess this code is similar to a simple assembler where the various instructions have been given opcodes . Depending upon the instruction you enter the appropriate switch case is executed.What working do u want to be explained depends on what doubts you have.Please be more specific.

Member Avatar for DJSAN10
0
220
Member Avatar for DJSAN10

I am working with Java RMI. I have created my client in netbeans. After failing to use rmic in netbeans i created stub file using rmic on command prompt and placed the file in my project folder's build\classes directory.Now when i run the server from command prompt, binding takes place …

0
91
Member Avatar for maxzoel

Try n go for EmguCV ..Its a wrapper for OpenCV for VS may be that will help

Member Avatar for maxzoel
0
364
Member Avatar for DJSAN10
Member Avatar for DJSAN10

This is a part of code i read in a standard book.. f() {} . . . int *ip; ip=((int *)f); my question is..f gives d address of function..then wat is d need to typecast..??/

Member Avatar for Narue
-1
117
Member Avatar for DJSAN10

in which language are definitions of built in functions like printf written...assembly or C?

Member Avatar for DJSAN10
0
161
Member Avatar for DJSAN10

Are constants, defined by using the keyword const , external linkage or internal linkage? Can constants be modified using pointers? What about constants defined using by #define?

Member Avatar for DJSAN10
0
136
Member Avatar for DJSAN10

Why is float called single precision floating point and double as double precision floating point?

Member Avatar for Ancient Dragon
0
137
Member Avatar for DJSAN10
Member Avatar for DJSAN10
Member Avatar for steelshark
0
95
Member Avatar for DJSAN10

Could anyone please explain what exactly bootstrapping is? As far as i know it is something related to "the compiler for C itself wriiten in C"

Member Avatar for DJSAN10
0
96
Member Avatar for DJSAN10

If the main() takes 3 arguments i.e. int argc,char * argv[],char *env[] and SINCE C DOES NOT SUPPORT FUNCTION OVERLOADING ,y does the c compiler does not give error for simply void main() //that is no arguments at all OR void main(int argc,char *argv[]) //2 arguments

Member Avatar for DJSAN10
0
195

The End.