143 Posted Topics
Re: [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 … | |
Re: 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 | |
Re: you have probably named your class as RunGame .It should be TestDrive | |
Re: 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. | |
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. | |
Re: You don't give the datatype when you call a function. Your code should be : [CODE]sum = count(intArray[i])[/CODE] | |
Re: [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 | |
Re: Here's another screen recorder software for your understanding. Enjoy...!! :) [url]http://www.screencast-o-matic.com/[/url] | |
Re: Unix Error message : [B]% man: why did you get a divorce? man:: Too many arguments.[/B] | |
Re: 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(). | |
Re: This is because ,in this case , printf() is right justified i.e. it works from right to left. | |
Re: 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) . … | |
Re: 21 : p2=fopen("file2.txt","r"); You are opening it in read mode and trying to write | |
Re: 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 | |
Re: 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 | |
Re: Paste the entire code. Is there an error ? Tell exactly what it is that is not working. | |
Re: Could you please paste the entire code . What is 'theInput' ? | |
Re: 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] | |
Re: 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. | |
Re: I am not sure of this. But see if you can use the following somewhere [CODE]scanf("%[^\n]");[/CODE] This code skips new line | |
Re: Agree.You don't need the if statement. Also , your if statement is never evaluating to true | |
Re: This might help answer your questions [url]http://users.aber.ac.uk/auj/voidmain.shtml[/url] | |
Re: 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 … | |
Re: @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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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] | |
Re: [QUOTE]ryggsackArray[arrayCounter] = s;[/QUOTE] I think that is where your problem lies.Try using a copy constructor | |
Re: 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 … | |
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? | |
Re: 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. | |
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 … | |
Re: Try n go for EmguCV ..Its a wrapper for OpenCV for VS may be that will help | |
| |
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..??/ | |
in which language are definitions of built in functions like printf written...assembly or C? | |
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? | |
Why is float called single precision floating point and double as double precision floating point? | |
| |
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" | |
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 |
The End.