No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Programming is my passion. I hope there is a technical specialist career path for me in the organization that employs me so that I can chart my progress over the years.
12 Posted Topics
Re: [QUOTE=yazooney;546949]I need the following headers. [CODE]#include "unistd.h" #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> #include <sys/time.h> #include <netinet/in.h> #include <netdb.h>[/CODE] [/QUOTE] 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 … | |
Re: 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 into compiler or device driver or OS kernel level programming, such … | |
Re: 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 initiation they will strongly propose Java as the programming language … | |
Re: 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 parser and add on to our C++ compiler environment. I am also … | |
Re: [QUOTE=Lerner;548516]Functions accepting functions as parameters. Worked on my compiler with several different inputs. My hat is off to ya.[/QUOTE] [code=c++] int eig( int num ) { if( num<10 ) return num; else return eig( eig( num/10 ) + (num%10) ) ; } [/code] I don't think it is function accepting … | |
Re: [QUOTE=KimJack;548523]I am having a problem with removing a specific item from a linked list. Any advice would be great: Here are some snippets: private Node head; //the head node at the front of the list private Node previous; //element just before the current position private Node current; //refers to the … | |
Re: [QUOTE=knight fyre;548494]For example class Vehicle_Details inherits features from class People[I](is-a relationship AKA inheritance)[/I] while class visitor and class personnel has-a [I](i.e owns - composition)[/I] class Vehicle_Details. Will the last two class have the same access to class People like class Vehicle_Details does?[/QUOTE] You are trying something like below? [code=c++] class … | |
Re: > Thanks - that helped, but I'm still not really sure what's up. > ride.out opens okay (according to the test, still no output though), but ride.in is failing to open. I don't know why - ride.in is in the same directory as the project file and the .cpp file. … | |
Re: [QUOTE=Jennifer84;548236] std::vector<std::vector<string> > Word2(100, std::vector<string>(100)); std::vector<string> Word1(100); std::vector<double> Number1(100); Is it correct to do this: delete[] Word2; delete[] Word1; delete[] Number1; Thank you[/QUOTE] 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 … | |
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 ACE. It is such a pity the ACE framework is not part of the … | |
Re: 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 your mergesort. The C++ STL algorithms library should have some classes that do sorting. And if still not … | |
Re: 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 using ACE you standardize to only one call and that is ACE_Process::spawn(...) ACE concept is like Java JVM … |
The End.