Thanks Luuk.
I will go with sqlite.
User Profile
Collapse
-
Getting SP2-0640 Not connected error on Sql Cmd Line
Hi,
I have installed Oracle 11g Express Edition on my 64 bit Windows 7.
Later saw that this edition of oracle doesn't works on 64 bit Windows.
But I stilled tried on sql command line.
Getting following errors:
SP2-0042 Command not recognized (for sysdate command)
SP2-6040 Not connected (for create table command).
Is there any way I can run it on my machine.
Thanks. -
Which db is good for 64bit cygwin on windows7
Hi,
I have 64-bit windows 7 and have installed 64-bit cygwin on it. I need a database which I can connect to from my c++ programs in cygwin.
I downloaded Oracle 11g Express Edition. But later read in documentation that it can't run on 64 bit windows.
Is there any free database distribution which can be used for study purpose on 64-bit windows 7 and cygwin for C++/Python programs?
Thanks... -
Hi,
Yes, you were right.
My mistake, I accidently made it a string at some place, and that was the reason of this error.
Sorry for the trouble.
Appreciate your responses.
Thanks.Leave a comment:
-
Assigning a value to a list variable fails
Hi,
The below code works:
But the following code is giving error -Code:newList = ['aa', 'bb', 'cc', 'dd'] newList[2] = 'zz' print newList ['aa', 'bb', 'zz', 'dd']
Can you please suggest something here.Code:myDBRow = [''] * len(columnList) myDBRow[DB.RegionCode] = 'ABC' TypeError: 'str' object does not support item assignment
... -
bajajv started a topic how to write in excel wordwise in each column, currently getting result characterwisein Pythonhow to write in excel wordwise in each column, currently getting result characterwise
hi
I am trying to read an xml and trying to write in excel using csv.writer. I am providing xml file name and xpath file name at command line.
But getting output like this-
(,[,',1,0,0,6,T,0, 0,0,5,6,5,4,3,0 ,',",",',2,0,1, 3,-,0,1,-,2,3,',],)
While I want it like this-
1006T000565430, 2013-01-23
Why am I getting comma after every character?
This is my code -
...Code:import libxml2
-
how to find server-class of a database
Hi,
I have to transfer data from IntersystemsCac he to Sybase IQ database.
I am trying to use Insert .. Location command from SybaseIQ.
But I need to know the server-class for Intersystems Cache.
Tried some links on internet, but didn't find it.
Can anybody please help.
Didn't find any section on IntersystemsCac he or Sybase, thats why I am giving it here.... -
Hi Banfa,
Yaa, the problem was in ordering the libraries. It is working now.
Thanks for the help.Leave a comment:
-
hi.. can anyone please give some suggestions how to move further, because I am really stuck at this..
Thanks.Leave a comment:
-
Hi Banfa,
These are the compiler and platform infos -
$gcc --version
gcc (GCC) 4.2.3
And in makefile, I am giving -
USER_LDFLAGS = -L$(HOME_DIR)/gmrACE-5.6-32/lib -lACE-5.6
If I do not give USER_LDFLAGS, it gives many errors for not finding ACE APIs.
Currently I am getting errors like this -
obj_rel_Linux_3 2/file_name.o:(.g nu.linkonce.d.r el.ro._ZTV28SOM E_NAME+0x284): undefined...Leave a comment:
-
Error using USER_LDFLAGS in executable make file
hi,
In my make file, I need to give USER_LDFLAGS.
I am trying to make an executable, but if I give USER_LDFLAGS as -
USER_LDFLAGS = -L... (libraries) it gives errors
and if I give it as -
USER_LDFLAGS = -shared -L... (libraries)
it creates a shared library.
Any idea what could be the reason, I can't give more details about the libraries for obvious... -
Did a pvs and got this -
pvs -o /path_for_lib/ld.so.1
../path_for_lib/ld.so.1 - librtld.so.1 (SUNWprivate_1. 3);
../path_for_lib/ld.so.1 - libld.so.4 (SUNWprivate_4. 2);Leave a comment:
-
On SVN checkout I get - libsvn_client-1.so.0 not found
Hi, I have svn installed but am getting following error when using svn command for checkout -
ld.so.1: svn: fatal: libsvn_client-1.so.0: open failed: No such file or directory
I got this with ldd -
bash-3.00$ ldd `which svn`
libsvn_client-1.so.0 => (file not found)
libsvn_wc-1.so.0 => (file not found)
libsvn_ra-1.so.0 => (file not found)... -
Sure. Will definitely like to know how efficient my design goes.. :)Leave a comment:
-
-
how to use semaphore in this situation
Hi, I have 5 producer threads and 10 consumer threads. 2 consumer threads for each producer.
How can I use a semaphore here, so that no 2 threads wanting to interact with same producer thread get access?
Thanks -
Hi Banfa,
Thanks for this info. But what about the auto variables. Consider this class -
If fun() throws exception, then will the memory allocated to i and j be released?Code:class A { public: int i; int j; void fun(); A(); ~A(); }; A::A() : i(10), j(20) { fun(); //this function throws exception }Leave a comment:
-
What happens when a half constructed constructor throws exception
Suppose a class has two integers and a function that could throw exception. If the constructor has allocated memory for integers and then it calls the function which throws exception, what will happen to the integers? Will they be released? I am confused becasue the destructor will not run until the object becomes fully constructed. -
how to define default constructor for a template list class
Hi,
I was making a template list class, and using it to make list of objects of my own class.
It works fine with integers, but not with other classses.
...Code:template <typename T> class CList { public: struct Node { T data; Node* next; }; Node* head; CList(); ~CList(); bool AddElement(T t); bool DisplayList(); -
how to handle exception in constructor
hi.. if a class A contains an array of objects of another class B.. And in the constructor of A, while constructing objects of B, any one object throws an exception, then how can we guarantee to release all the memory acquired.. so that there is no memory leak..
It was asked in an interview recently.. I was not very sure how to answer this.. can any one help please...
...Code:class B{}; class A{ public:
No activity results to display
Show More
Leave a comment: