Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~36.6K People Reached
Favorite Forums
Favorite Tags
Member Avatar for RohitSahni

mY QUERY IS RELATED TO.. How can i set coloumn width in unix... Like for ex. i am having a file, whose content is like ------------------------------ aba bba baba abba baba baaa addd ffff fffff ----------------------------------- i want it to be like ----------------------------------- aba bba baba abba baba baaa addd …

Member Avatar for L7Sqr
0
2K
Member Avatar for 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. suppose my password is "Rat420" so at the time of typing anything …

Member Avatar for shashanderson
0
231
Member Avatar for RohitSahni

I will be starting working on perl and java soon.. Can anyone please help, form where to start so that i get the confidence of working on it and i can do hands on.

Member Avatar for verruckt24
0
159
Member Avatar for RohitSahni

001 00002 0000003 00004 000005 6 000007 008009 ------------------------------------------------------------------------------------------------------ GBL UTG.L 0692861 DCGB 000000 0 205750 826UTG GBL UU.L 0646233 DCGB 000000 0 722501 -371UU. I have the above data line by line each and coloumn has fixed width then in those i want to assign 9 coloumns to variables …

Member Avatar for ArkM
0
372
Member Avatar for RohitSahni
Member Avatar for RohitSahni

Hi all, The scenario is like this: i have one file which contains some particular paths, now my aim is to make changes in this file so that i can change the path in that file.. eg: file1.txt: ABC -p /home/user/a/b/v23.9/library -l /home/user/a/b/ABC/v23.9 test.exe DEF -r v23.9 /c/d/f -p /home/user/a/b/v23.9/library …

Member Avatar for masijade
0
150
Member Avatar for 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. [code] In file included from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/bits/stl_algobase.h:72, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/bits/char_traits.h:46, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/ios:46, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/ostream:45, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/iostream:45, …

Member Avatar for sngpt.iitr
0
132
Member Avatar for RohitSahni

Hi All, My query is related to assinging a variable with value which is there in the env. Suppose from my c++ code i am doing putenv("A=abc"), now wat i want to do is to get this value of A in my shell script and assisng this "abc" to my …

Member Avatar for eggi
0
96
Member Avatar for 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++ code. Plz let me know. Thanks in advance.

Member Avatar for RohitSahni
0
553
Member Avatar for 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 this.

Member Avatar for n.aggel
0
84
Member Avatar for 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 shell script(set by using the previous exe ) …

Member Avatar for Ancient Dragon
0
126
Member Avatar for 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 _pthread_attr*, extern "C" void*(*)(void*), void*) is being passed void*(*)(void*). "../incl/GDS_Thread/Thread.h", line 221: Warning (Anachronism): Formal argument 2 of type extern "C" void(*)() in call to pthread_once(_once*, …

Member Avatar for Salem
0
187
Member Avatar for 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 how can i get those 2 values from C++ code …

Member Avatar for Duoas
0
88
Member Avatar for RohitSahni

Hi All, Please Help me out with this below mentioned error. [code] librohit.a: undefined reference to `MODEL_NAME' librohit.a: undefined reference to `FT_MODEL' librohit.a: undefined reference to `STOCK_MODEL' librohit.a: undefined reference to `FUTURE_MODEL' librohit.a: undefined reference to `COArgs::COArgs()' librohit.a: undefined reference to `std::strstreambuf::freeze(int)' librohit.a: undefined reference to `RWMutex::wLock()' librohit.a: undefined reference …

Member Avatar for Ancient Dragon
0
136
Member Avatar for RohitSahni

Hi all, [code] fstream filestr ("test.txt", fstream::in | fstream::out); [/code] Plz confirm me about the permission on "test.txt". it will be '777' by default ..am i thinking correct.?

Member Avatar for Salem
0
66
Member Avatar for RohitSahni

Hi All, [code] 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 /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/crt1.o(.text+0x5c): In function `.nope': : undefined reference to `main' /var/tmp//ccA4edOw.o(.text+0x84c): In function `DbRes::Lock::Lock(String const&, String const&)': /home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to `String::String(char const*)' /var/tmp//ccA4edOw.o(.text+0x8c4):/home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to `String::~String()' /var/tmp//ccA4edOw.o(.text+0x8e4):/home//Developer/__local_unix/_/lib/_Components/DbRes.cc:65: undefined reference to …

Member Avatar for thekashyap
0
112
Member Avatar for RohitSahni
Member Avatar for ~s.o.s~
0
32K
Member Avatar for RohitSahni

hi any idea about this error. [code] In constructor `local_ExtraLogStreamBuf::local_ExtraLogStreamBuf()': .cc:224: error: `setb' undeclared (first use this function) .cc:224: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/time.h: In member function `void local_ExtraLogStreamBuf::printAtLogLevel(char, const char*)': /usr/include/time.h:250: error: too many arguments to function `char* asctime_r(const …

Member Avatar for RohitSahni
0
124
Member Avatar for 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 upper case and vice verssa. Plz help me out …

Member Avatar for Ancient Dragon
0
109
Member Avatar for 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 : [code] Hash.h:23: error: 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' has no member named 'hash' COArgs.cc: In member function `void COArgs::readStream(std::istream&)': …

0
82