Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: RohitSahni
Forum: Java Jan 19th, 2009
Replies: 3
Views: 302
Posted By 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.
Forum: C++ Nov 10th, 2008
Replies: 1
Views: 487
Posted By RohitSahni
001 00002 0000003 00004 000005 6 000007 008009...
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,083
Posted By RohitSahni
Here's the solution..
awk -F"~" '{printf("%-15s%s~%s\n", $1,$2,$3)}' inputfile
ID1 Name1~Place1
ID2 Name2~Place2
ID3 Name3~Place3

Thanks guys for your help..
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,083
Posted By RohitSahni
i am using vi editor,....and want to send the file genrated as a mail...and want it to be in proper format
Forum: Shell Scripting Oct 1st, 2008
Replies: 5
Views: 2,083
Posted By 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 ...
Forum: C++ Jan 23rd, 2008
Replies: 2
Views: 929
Posted By RohitSahni
Why we get the core file and also how can we debug it in unix(using sun C++ compiler)
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,130
Posted By RohitSahni
output:

$ tr "/v23.9" "/ABCDE" < test.txt
ABC
-p /home/user/a/b/ABCDE/library -l /home/user/a/b/ABC/ABCDE testDexe
DEF
-r ABCDE /c/d/f -p /home/user/a/b/ABCDE/library -l...
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,130
Posted By RohitSahni
yup man i did tried this...but not working..
Forum: Shell Scripting Jan 18th, 2008
Replies: 5
Views: 1,130
Posted By 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: ...
Forum: Shell Scripting Nov 27th, 2007
Replies: 1
Views: 848
Posted By 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...
Forum: C++ Nov 14th, 2007
Replies: 11
Views: 5,022
Posted By RohitSahni
If anyone needs it let me know i will paste it.

Thanks .
Forum: C++ Nov 14th, 2007
Replies: 11
Views: 5,022
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,022
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,022
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,022
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,022
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,342
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,342
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,068
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: 817
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,218
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,218
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,749
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: 576
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: 576
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,731
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: 602
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,114
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,114
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: 8,927
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: 8,927
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,700
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,700
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,404
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,734
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 35 of 35

 


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

©2003 - 2009 DaniWeb® LLC