User Profile
Collapse
-
It looks like you didn't pay too much attention to makefiles.... -
the truth must be visible to everyone in this forum,my dear weakness,do not try again to hide the truth;you can make it once,maybe twice...but how long are you supposed to do it?Accept the fact that you are wrong,and PLEASE do not try again to make a thread float down just to make it not visible to the others.
Say hi to phanepip and begin to study,seriously .Leave a comment:
-
'Father, forgive them, for they do not know what they are doing' " (23:33-34)...Leave a comment:
-
-
MarshMallow replied to hi, i have to write a program that calculates and displays numbers btw 1 and 100 inclin Javarename n with inputvalue;
move the while loop before the computation(who y should computation start if the input is not correct?);
change the comment in "computing the sum of first n integer,where n is the userinput"(this is what your formula 'n(n+1)/2' is supposed to do);Leave a comment:
-
Code:#include <iostream> void func(int x) { std::cout << x << std::endl; } class bar { public: void foo() { func(1); } }; int main() { bar baz; baz.foo(); }Leave a comment:
-
The code posted by the instructor is right.let's stop it.
Taking a C-whatsoeverFAQ as the reference is not a good way to study Oler....Leave a comment:
-
Listen Weakness....ple ase be sure you clearly understood what you are talking about before claiming yourself to be right.
you should know that new operator return an address,and a Transaction object contructed trhrough a new operation is itself a pointer (i.e. the variable stores an address).
Remember that an array is nothing but a variable,a variable wich represents the first address of a set of contiguous memory blocks;so an array...Leave a comment:
-
Please,open Patterson Hennessy,Comput er Architecture:A Quantitative Approach
Chapter 5:"Compiler Optimizations to ReduceMiss Rate" and read it carefully,very carefully...... .....Leave a comment:
-
Yes OK I understand that your code does not contain any syntax error(because if it had syntax error ,debugger would not even start);but you should use debugger to search for semantic error as well.
Semantic errors occur when a variable has a value that it should not,or when a variable has a value that it is not expected to have according to the algorithm that you designed.
Semantic errors are the hardest kind of error to look for,and...Leave a comment:
-
Dev C++ has a nice debugger;while debugging,you can use the "watch variable" option,wich lets you check the value of variables in every moment.
Dev C++ debugger only works with single file source code;it will not work with a file included in a .dev project file.Leave a comment:
-
Take a look at Java documentation,e specially to these classes:
URLConnection : use method openConnection( );
BufferedInputSt ream : use method getInputStream( ) read() close()
FileOutputStrea m: use method write() and close()Leave a comment:
-
Never rely to much on C getline if you have to do line-level character computations;us e instead a getchar:getchar fetches a byte from the standard input;you should embed it in a while loop
is that clear enough?I hope soCode:while (c= getchar() != \n) do your computations
have a good sunday!Leave a comment:
-
During my "Object Oriented Programming" class,last year,my professor adopted
"Core Java" from Cay Horstmann and he even made his lesson slides upon that book.
I have to say that is a very clear and concise book with all the key java features and technicalities explained through many examples.
who agrees?Leave a comment:
-
that's because the C language uses a row major order matrix representation....Leave a comment:
-
I posted the same message twice,sorryLeave a comment:
-
Let me give you a brief introduction to the frequency domain signal analysis.
Fuorier transform basically gives you a frequency domain representation of a time domain function .
Why do we do that?
Basically the function we want to transform is an input electric signal;most of the times, this signal is a sinusoidal function.
From the Signal Theory class we know that the response of a linear system to a sinusoidal input(e.g....Leave a comment:
-
why in the world do you approach advanced topics like InterProcess Communication if you don't even know what an array is???
An array variable stores the first addres of a set of contiguous memory locations where a discrete number of bytes(or words,or double words) is stored.the type of an array variable is therefore a pointer.Please read Ritchie and Kernighan ANSI C book...Leave a comment:
-
google for "strcat implementation" and grab the first wikipedia result,you will find a possible implementation of the strcat functionLeave a comment:
-
I will give you a very valuable suggestion;if you are interested in parsing/scanning topics,you should read Aho,Sethi,Ullma n "Compilers :priciples techinques and tools",but be very careful,this book is known as.....the DRAGON BOOKLeave a comment:
No activity results to display
Show More
Leave a comment: