Search Results

Showing results 1 to 27 of 27
Search took 0.01 seconds.
Search: Posts Made By: RohitSahni ; Forum: C++ and child forums
Forum: C++ Nov 10th, 2008
Replies: 1
Views: 526
Posted By RohitSahni
001 00002 0000003 00004 000005 6 000007 008009...
Forum: C++ Jan 23rd, 2008
Replies: 2
Views: 992
Posted By RohitSahni
Why we get the core file and also how can we debug it in unix(using sun C++ compiler)
Forum: C++ Nov 14th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
If anyone needs it let me know i will paste it.

Thanks .
Forum: C++ Nov 14th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
Guys i have made the neccasary changes, actually the code which i pasted earlier was the code written on very old version of C++(Borland). thats y those things were there but now the code is...
Forum: C++ Nov 14th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
Yup Thanks,
I already updated it. Actually that was just a rough code .
Forum: C++ Nov 13th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
I was able to do it like this.


#include<iostream.h>
#include<stdio.h>
#include<conio.h>
#include<string.h>
void splitString(char inputstr[100])
{
clrscr();
Forum: C++ Nov 12th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
Can anyone plz provide me with the sample code. Above one is not working for me.

Thanks in advance
Forum: C++ Nov 8th, 2007
Replies: 11
Views: 5,239
Posted By RohitSahni
Hi all,

Suppose i have one string as "A:B:C", where ":" is the delimiter . now i want to seperate this A, B, and C and save them in 3 different variables.

How can i implement this thru C++...
Forum: C++ Nov 7th, 2007
Replies: 13
Views: 3,451
Posted By RohitSahni
Yes it is a console process.
i am using Unix and using Sun C++ compiler
and also i am using GUI.
Forum: C++ Nov 6th, 2007
Replies: 13
Views: 3,451
Posted By RohitSahni
Hi All,

I am writing a code in C++ to implement Login screen which will accept user name and password from the user. Now my main concern is to hide that password to be sceen by the user.
...
Forum: C++ Nov 5th, 2007
Replies: 1
Views: 1,113
Posted By RohitSahni
I am calling one c++ exe from my unix shell script, i am trying to set the env variables using putenv() thru my c++ code. Now i want to use these varibles in my new exe which is there in the same...
Forum: C++ Nov 5th, 2007
Replies: 3
Views: 827
Posted By RohitSahni
Hi All,
I am calling one exe from my c++ code exe, now i want some(two or three) values in my c++ code exe from that exe which i am calling,

Any idea how can it be done?

Plz help me out in...
Forum: C++ Oct 31st, 2007
Replies: 3
Views: 1,238
Posted By RohitSahni
i am using Compiler "/sbcimp/run/tp/sun/SUNWspro/v8/bin" i.e version 5.5 Sun C++ compiler.

and you can see it is refreing to "/sbcimp/run/tp/sun/SUNWspro/v8/prod/include/CC/Cstd/rw/rwdispatch.h"
...
Forum: C++ Oct 31st, 2007
Replies: 3
Views: 1,238
Posted By RohitSahni
i am getting this error :

"../incl/GDS_Thread/Thread.h", line 141: Warning (Anachronism): Formal argument 3 of type extern "C" void*(*)(void*) in call to pthread_create(unsigned*, const...
Forum: C++ Oct 25th, 2007
Replies: 1
Views: 1,809
Posted By RohitSahni
Hi All,

I am working on a situation suppose i am calling one exe(C++ code) from unix shell script now i want that 2 values in that unix script which this c++ code will get from some URL.
Any Idea...
Forum: C++ Aug 1st, 2007
Replies: 2
Views: 586
Posted By RohitSahni
I am trying to build exe bbut getting the following above said error..
I am tring to build below mention code.


#include <iostream>
#include <fstream.h>
#include <stdlib.h>

#include...
Forum: C++ Aug 1st, 2007
Replies: 2
Views: 586
Posted By RohitSahni
Hi All,
Please Help me out with this below mentioned error.


librohit.a: undefined reference to `MODEL_NAME'
librohit.a: undefined reference to `FT_MODEL'
librohit.a: undefined reference to...
Forum: C++ Jul 27th, 2007
Replies: 1
Views: 1,782
Posted By RohitSahni
Hi all,

Plz helpme out with this error.

I am trying to Port my C++ compiler from Sun C++ compiler to GNU gcc 3.4.2 and i am getting below errors..Guys any idea how to solve this.


In file...
Forum: C++ Jul 26th, 2007
Replies: 1
Views: 612
Posted By RohitSahni
Hi all,

fstream filestr ("test.txt", fstream::in | fstream::out);


Plz confirm me about the permission on "test.txt".
it will be '777' by default ..am i thinking correct.?
Forum: C++ Jul 24th, 2007
Replies: 3
Views: 1,155
Posted By RohitSahni
Actually this is the String class(i derived this class from ) defined by me only..and i included its '.h' in the respective file i.e DBRes.cc.

Then why i am getting this error.
Forum: C++ Jul 23rd, 2007
Replies: 3
Views: 1,155
Posted By RohitSahni
Hi All,


In file included from ../../incl/_Components/DbRes.h:7,
from DbRes.cc:1:
../../incl/_Components/IniReader.h:79:8: warning: extra tokens at end of #endif directive...
Forum: C++ Jul 19th, 2007
Replies: 6
Views: 9,368
Posted By RohitSahni
Thanks a lot for your Rply..i will be using atoi().
And it worked for me. :)
Forum: C++ Jul 19th, 2007
Replies: 6
Views: 9,368
Posted By RohitSahni
Hi All,

I want to convert char * to int.

Plz help me out.

Thanks in advance.
Forum: C++ Jul 19th, 2007
Replies: 1
Views: 1,756
Posted By RohitSahni
i found setb,setp and setg in iostream.h of sunCompiler C++4.2..
Can anyone tel me its equivalent in gcc3.4.2. Coz i just cant see setb setp and setg in <iostream>...

Plz help me out..
Forum: C++ Jul 19th, 2007
Replies: 1
Views: 1,756
Posted By RohitSahni
hi any idea about this error.


In constructor `local_ExtraLogStreamBuf::local_ExtraLogStreamBuf()':
.cc:224: error: `setb' undeclared (first use this function)
.cc:224: error: (Each undeclared...
Forum: C++ Jul 18th, 2007
Replies: 1
Views: 1,447
Posted By RohitSahni
Hi Guys..
Plz let me know where can i get STL string user guide.
and d also if u guys can help me.


I want to know is there any method in std::string which can help me convert Lower caase to...
Forum: C++ Jul 18th, 2007
Replies: 0
Views: 1,822
Posted By RohitSahni
Suppose while converting RWCString constructors to std::string constructors, i am getting following errors. Can anyone please povide me with the Porting Guide for this .error which i am getting :

...
Showing results 1 to 27 of 27

 


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

©2003 - 2009 DaniWeb® LLC