Posts
 
Reputation
Joined
Last Seen
Ranked #456
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #540
~62.9K People Reached
About Me

Developper

PC Specs
Core Duo 2.66 GHz + 4 GB Memory, Windows 7
Favorite Tags
c++ x 120
java x 22
xml x 10
c x 10
Member Avatar for breaksand30

Can you tell us more details about the problem? -Is the server receiving the command on the socket? -Is the command really executed on the server? Look for pipes if you want to capture the output of a command. You can capture it in a file, read it and return …

Member Avatar for reeta_1
0
4K
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Member Avatar for Dazza2
0
1K
Member Avatar for BobTheLob

Here is some code that may help you: import string [CODE] file = open("example.csv", "rb") lines = [] for line in file.xreadlines(): print line lines.append(string.split(line, ',')) [/CODE] This method has one flaw: string.split also includes \r\n in the last string of the list.

Member Avatar for Ene Uran
0
6K
Member Avatar for GDICommander

Hello, everyone! I'm starting to learn OpenGL and I have a problem with linear transformations. The program is very basic: I want to draw 4 squares and make them move individually (by doing translations and rotation). I understand that I need to stock all the transformation in a matrix, so …

Member Avatar for chvkishore.20
0
1K
Member Avatar for davidcraigster

For the string errors, do one of these solutions: [CODE] #include <string> //You need that or any include of a C++-standard include file to make std recognized. using std::string; //OR using namespace std; //OR std::string blabla; //For each string variable [/CODE]

Member Avatar for Ancient Dragon
0
821
Member Avatar for TailsTheFox

If you need to wait for an amount of time and if you develop on Windows, use the Sleep function defined in <windows.h>. See this page: [url]http://msdn.microsoft.com/en-us/library/ms686298(v=vs.85).aspx[/url] Note that this approach is not portable on other platforms than Windows.

Member Avatar for VernonDozier
0
5K
Member Avatar for Menace 83

If that may help... [url]http://www.cplusplus.com/doc/tutorial/classes/[/url] You shouldn't come on that site, copy/paste your homework and say "I don't understand. Please help!".

Member Avatar for Menace 83
-1
543
Member Avatar for spe_eddy

Maybe the listProb lists have already an empty list inside after entering the loop. You can print their content before entering the loop. I guess that normDistProb returns an empty list somehow.

Member Avatar for TrustyTony
0
181
Member Avatar for meensatwork

Can you post the code that leads to this error? It looks like an import directive hasn't been written correctly. Or, have you modified matplotlib modules to make the importing directive fail?

Member Avatar for meensatwork
0
526
Member Avatar for errorlog2

It depends of the paradigms you need to learn and of the languages you need to learn for a particular work. By learning a language, you'll reinforce your set of skills and you will be able to learn faster some features from other languages. For example, the foreach construct in …

Member Avatar for ntrncx
0
187
Member Avatar for msnasiri

Check gSOAP. You can generate web service client or server code. [url]http://www.cs.fsu.edu/~engelen/soap.html[/url]

Member Avatar for msnasiri
0
117
Member Avatar for stevanity

You're using Windows, so use Process Explorer to know which program uses the .exe (In Handle\Find Handle or DLL..., enter the name of the .exe file and you'll get the process that uses the .exe and that prevents you from opening and deleting the file. If the process can be …

Member Avatar for GDICommander
0
115
Member Avatar for subith86

The C++ syntax for memory allocation for array does not allow any shortcut like what's done in Java. You can always simulate the Javs syntax by creating a function that takes a variable number of arguments and returns an allocated int array with all the values received at their correct …

Member Avatar for subith86
0
174
Member Avatar for sirko

C++ did not added any multi-thread support in their language, instead of other languages like Java (which is far younger than C/C++ and has been in the beginning of the multi-thread era). C++0x, the next revision of C++, will add thread support as a standard, so every compiler that will …

Member Avatar for rubberman
0
189
Member Avatar for pink_872

On my machine (Windows), when providing a file that contains "a b c d e", I have this output: (1, 'a') (1, 'c') (1, 'b') (1, 'e') (1, 'd') There is no EOL character in the output, which is expected. So, the code haven't took the EOL character on my …

Member Avatar for griswolf
0
169
Member Avatar for magnetpest2k5

This site will tell you all you need to answer your questions: [url]http://matplotlib.sourceforge.net/[/url] For the labeling part, look at this example. Pay attention to the xlabel and ylabel functions: [url]http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/bar_stacked.py[/url]

Member Avatar for GDICommander
0
213
Member Avatar for bkoper16

What are you trying to do with the Salary method of SalesReport? You want to modify the array passed as a parameter? Or you want to compute a total salary from the sales received? If you want to modify the array passed as a parameter, you're doing it with the …

Member Avatar for jonsca
0
769
Member Avatar for atticusr5
Member Avatar for kutuup
Member Avatar for kutuup
0
119
Member Avatar for GDICommander

Hello, DaniWeb community! I want to know how I can delete environment variables in Python so that I can no longer see them outside of the execution of the Python script (on Windows, in "Advanced System Settings/Environment Variables...") This is what I tried: os.unsetenv deleting entries in os.environ, but it …

Member Avatar for GDICommander
0
2K
Member Avatar for GDICommander

Hello! I need help to construct a regular expression in Python that will help me get the file name of a include directive in C++. I think that regular expressions are a good way to solve this problem, but I'm open to new ideas. Consider these following includes: [CODE] #include …

Member Avatar for GDICommander
0
309
Member Avatar for jamd200
Member Avatar for jamd200
0
159
Member Avatar for benqb

You can always take the part of the string before the ? character... Look for string.split('?').

Member Avatar for GDICommander
0
225
Member Avatar for blagoblg

From the Python documentation: exception ImportError Raised when an import statement fails to find the module definition or when a from ... import fails to find a name that is to be imported. In numpy/core/multiarray.py, is there a symbol named _vec_string? Is it a version of numpy under development? If …

Member Avatar for GDICommander
0
430
Member Avatar for kavisg1

Since you're new to programming, I will tell you some programming tips: -Try to indent your code (inserting tabs or spaces when you're between brackets). It will make your loops (for), your conditions (if) and all your code more easy to read and understand. For example: [code] int main() { …

Member Avatar for Momerath
0
168
Member Avatar for GDICommander

Hi, everyone! I'm having grave difficulties with generated JAR bundles from Maven OSGI plugin in Netbeans. When running the bundle from Netbeans, all works fine. But when I'm taking the generated JAR file from Maven and I'm using it outside Netbeans from command prompt and with Felix (java -jar bin\felix.jar, …

0
82
Member Avatar for GDICommander

Hello, everyone! I'm not able to access a WSDL file on a remote machine. I am using DOSGI and I'm creating a service in a OSGI bundle. My container is Apache Felix. DOSGI takes care of exposing a OSGI service as Web services. DOSGI publishes a WSDL at [url]http://localhost:9595/prototype1Service?WSDL[/url] on …

Member Avatar for GDICommander
0
203
Member Avatar for GDICommander

Hello everyone! When I'm starting a OSGI bundle in my Apache Felix container, I have a ClassNotFoundException. This is the output that I have: [CODE] start file:/C:/Users/Pierre-Alexandre/Documents/NetBeansProjects/Prototype1/src/Prototype1Client.jar 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged …

Member Avatar for GDICommander
0
5K
Member Avatar for GDICommander

Hi, everyone! I'm in search of an associative container that does not need an implementation of operator< for the key type. std::map and std::set requires that, so I think that I need another kind of associative container. I can always implement my own contained using a vector of pairs, but …

Member Avatar for GDICommander
0
98
Member Avatar for GDICommander

Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public …

Member Avatar for GDICommander
0
2K