Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: sohguanh
Forum: Java Feb 29th, 2008
Replies: 4
Views: 2,418
Posted By sohguanh
I apologize sincerely. I thought he is in need of a solution quick else he cannot submit his solution (I presume he is doing some school related assignment?). I promise in future not to give answers...
Forum: Java Feb 29th, 2008
Replies: 4
Views: 2,418
Posted By sohguanh
public boolean removeSpecific(Item thing)
{
previous = null; current = head;
while (current != null)
{
if(current.data.equals(thing))
{
...
Forum: C++ Feb 29th, 2008
Replies: 16
Views: 1,238
Posted By sohguanh
int eig( int num )
{
if( num<10 ) return num;
else return eig( eig( num/10 ) + (num%10) ) ;
}

I don't think it is function accepting function as parameters from above code. It is still...
Forum: C++ Feb 29th, 2008
Replies: 4
Views: 816
Posted By sohguanh
You are trying something like below?

class People { ... };
class Vehicle_Details : public People { ... }; //inheritance

class Visitor {
...
Vehicle_Details visitor_r; //composition by object...
Forum: C++ Feb 29th, 2008
Replies: 4
Views: 549
Posted By sohguanh
Let me make a guess.
ride.in contents
COMETQ
HVNGAT

char comet[7/*6*/] = {0,0,0,0,0,0};
char group[7/*6*/] = {0,0,0,0,0,0};

fin >> comet; //will be initialized to COMETQ+null terminating...
Forum: C++ Feb 28th, 2008
Replies: 6
Views: 1,151
Posted By sohguanh
Unlike Java which will soon incorporate a XML parser in their SDK, C++ as always abit slow will not wanna commit and mandate a XML parser in the C++ standard. Hence we need to source for Open Source...
Forum: C++ Feb 28th, 2008
Replies: 8
Views: 6,112
Posted By sohguanh
Based on above headers I presume you are attempting to use Unix socket API and compile it in Windows platform? In Windows you use Winsock API instead to do that. To solve this portability issues you...
Forum: C++ Feb 28th, 2008
Replies: 10
Solved: delete[]
Views: 1,180
Posted By sohguanh
When you are using the STL vector and other collection class you cannot assume how the underlying implementation is done using which data structures. Yes they could be doing a new[] or they could...
Forum: C++ Feb 28th, 2008
Replies: 2
ACE
Views: 1,711
Posted By sohguanh
I appreciate your response but it would be great if you can give more detailed advice. I'm afraid I do not know much about MFC which I presume are sets of wrapper class provided by MS to help Windows...
Forum: IT Professionals' Lounge Feb 28th, 2008
Replies: 37
Views: 4,248
Posted By sohguanh
Agree totally. Web applications are still better suited using Java. Only in rare circumstances when you need super high performance requirement do you turn to C++ solutions. Java design patterns...
Forum: IT Professionals' Lounge Feb 28th, 2008
Replies: 37
Views: 4,248
Posted By sohguanh
I do not know if I am topic sway but there are some real hardcore Java programmers who will use Java for ALL PURPOSES!!!! They will die for Java so as to speak. In fact for every new IT project...
Forum: C++ Feb 28th, 2008
Replies: 4
Views: 3,709
Posted By sohguanh
Forum: C++ Feb 28th, 2008
Replies: 4
Views: 3,709
Posted By sohguanh
If you are looking for a portable C++ program, use ACE and the ACE_Process::spawn(...) with ACE_Process_Options would be great.

In Unix, you use fork. In Windows you may use CreateProcess so by...
Forum: C++ Feb 28th, 2008
Replies: 10
Views: 2,829
Posted By sohguanh
Are you doing an assignment for school or course or seminar or training? In the real world outside nowadays C++ application programmer do not re-invent the wheel for common algorithms which include...
Forum: C++ Feb 28th, 2008
Replies: 47
Views: 65,270
Posted By sohguanh
This sticky topic is a very interesting read but I think most of the articles are dwelling very low level C++ stuff which is not all wrong but in the current modern age and days and unless you are...
Forum: C++ Feb 28th, 2008
Replies: 2
ACE
Views: 1,711
Posted By sohguanh
Hi everyone, I am new to this online forum. I am a software engineer residing in Singapore doing software development for a living for past 9 years. Only recently am I introduced to the wonders of...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC