Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
11
Posts with Upvotes
10
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~27.4K People Reached
Favorite Tags

35 Posted Topics

Member Avatar for isralruval

The conversion of hexa to decimal follows in thid manner Hex value =A48 Decimal value =8*16^0 +4*a6 ^1 +A*16^2+... so first thing you need to do is to convert string value to integer using [CODE] int result =atoi(hexString) [/CODE] Then you can keep on dividing the integer by 10 and …

Member Avatar for sheetal Phapale
0
4K
Member Avatar for rati

Hi All, I have two machines, one Solaris and another Linux. On my Linux machine , i have Oracle10g installed and have one instance(say firstInst). I have Oracle 10g installed on Solaris also. When i try to connect to this firstInst, from Solaris , i get error like *sqlplus sys/sys …

Member Avatar for LastMitch
0
143
Member Avatar for DoEds

[QUOTE=DoEds;1046216]Can anyone give me some ideas on how to find the middle value between 3 numbers.? I really dont know how to start... I know how find minimum and maximum but finding the Middle value is kinda hard for me... For those C Wizards give me some idea advice please?., …

Member Avatar for krutarth
0
3K
Member Avatar for rati

Hi all, I was going throughthe concept of Polymorphism. Can anyone explain me how the vtable and vptr are created in case of virtual base class and what all values it contains. I have idea about the vTable and Vpt in case of polymorphism that the table contains the address …

Member Avatar for Narue
0
259
Member Avatar for LisaJane

[QUOTE=LisaJane;94516]I have this program that is supposed to read part numbers from a text file. 101-110, 301-310, 501-510 and put them into a hash table. It will prompt for one of four algorithms to be used and then continue to load the part numbers. Everything seems to be working okay, …

Member Avatar for xaveri
0
5K
Member Avatar for alexa868

And please dont use [CODE] system("pause"); [/CODE] it is not a good approach.. use getch etc instead :)

Member Avatar for rati
0
146
Member Avatar for leinadbg

[QUOTE=leinadbg;1045113]Hello, i am searching for way, to open web page with C++ and after that to control its elements. I know that i can do this in Delphi, with WebBrowser.OleObject.Document and TWebBrowser. Do you know similar way that i can use in C++?[/QUOTE] I searched on net and found some …

Member Avatar for marco93
0
178
Member Avatar for JooS

i see many syntax errors in your code. Few i will list. Rest you should compile your code. In the check member function, you have so many parameters, but where you are calling the function,the number of parameters are different Also the use of references is not proper.the way you …

Member Avatar for JooS
0
122
Member Avatar for Towely

To make the program obust you need to use looping concept . This will provide user the freedom of entering any number

Member Avatar for kri_prasad2000
0
184
Member Avatar for gunjanagrawal

Hi gunjan, Can you please tell me what is the difference between [ICODE] void function(int*d); [/ICODE] and [ICODE] void function(int &d); [/ICODE] both above are function declarations and both we do the changes to the original variable passed to the function. Then what is the exact difference. Thanks in advance

Member Avatar for nucleon
-1
186
Member Avatar for staufa

[QUOTE=tufzz;712019]Can anyone tell me why I'm getting "number 1" as my output when i enter arguments 1, 2, 3. It seems like its always 1 and I don't know why. [CODE]int main(int argc, char *argv[]) { if (argv[1] = "1"){ printf("number 1"); }else if(argv[1] = "2"){ printf("number 2"); }else if(argv[1] …

Member Avatar for staufa
0
90
Member Avatar for Se7Olutionyg

Yes , when you are calling a function by call by value method as you are doing in your code you are making a local copy. If you need the change to be reflected in main also you should use reference method

Member Avatar for rati
0
120
Member Avatar for sandya_vish

[url]http://mycplus.com/tutorials/c-programming-tutorials/file-handling/[/url] check this link about file handling.Similarly you can copy objects

Member Avatar for skatamatic
0
93
Member Avatar for FAZ3

Hi FAZ3, What exactly you want ? why are you using delete in your algorithm? Do you want it to be at particular position as has been done by Rhohitman or is your list like this [ICODE] struct node { int i; char a; node *next; }; [/ICODE] and you …

Member Avatar for stilllearning
0
103
Member Avatar for Se7Olutionyg

[QUOTE=Se7Olutionyg;709233]// grade.cpp // display the letter grade corresponding to an exam // score assuming a noormal scale # include <iostream>; using namespace std; void displayGrade (int score); int main () { int score; displayGrade(); cin.get(); return 0 ; } // get the data void displayGrade cout << " ENTER THE …

Member Avatar for sidatra79
0
104
Member Avatar for abelingaw

[QUOTE=abelingaw;709348]Ok! Now i have done it. The prblem is that i dont know how to do a switch. I mean after the program is executed and finish, How do I enable it to ask the user if he wants another try. If yes, the prog starts again and if no, …

Member Avatar for rati
0
172
Member Avatar for unk45

Hi, First of all both your functions are same. It will give compilation error at the start [ICODE] void strrep(char *ptr, char *charactobereplaced); void strrep(char *ptr, char *wordtobereplaced) [/ICODE] Also you can do this with the same function , there is no need to create two functions. Look at the …

Member Avatar for rati
0
126
Member Avatar for sham

hi all, i have a doubt...please clarify Instead of having a base class pointer and pointing it to derived class...can we not have a derived class pointer itself to call the virtual function..how are the two cases different and what is the benefit of one over the other?

Member Avatar for digitaldesperad
0
229
Member Avatar for rati

HI All, I am using doctrine in my project... now i am trying to update an already existing query.I am getting some DB exception..can anyone tell me what ia wrong in my code [code] $q = Doctrine_Query::create(); $campaign->update('TableName') ->set('name' , $args['name']) ->set ('credit' ,$args['credits']) ->set('comments' ,$args['comments']) ->where ('id = 2') …

Member Avatar for ShawnCplus
0
59
Member Avatar for rati

Hi All, Can anyone please tell me how can i get the socket.dll for writing socket programming in php. Thanks

Member Avatar for nikesh.yadav
0
64
Member Avatar for rati

Hi All, I am trying to create the instance of a class without using new. [code] class StaticVar { public $i; function __construct() { $i=8; } public function StaticVar() {} public function display() { echo $i; echo $count; } } $instance = new StaticVar(); StaticVar $instance2; $instance->display(); $instance2.display(); [/code] It …

Member Avatar for digital-ether
0
77
Member Avatar for rati

Hi all, I want to use preg_grep for an assosiative array. Can someone guide me how is it possible?

Member Avatar for praveen_dusari
0
102
Member Avatar for rati

Hi All, I am new to PHP, i have installed WAMP but have no idea how to work on it. Can someone please guide me or provide some link how should i start? Thanks in advance

Member Avatar for buddylee17
0
89
Member Avatar for rati

Hi all, Can someone tell me in detail what are super global variables and how are they used??

Member Avatar for Demiloy
0
282
Member Avatar for rati

Hi All, I have started learning PHP now. I am unable to find the exact difference between include and require in php?

Member Avatar for JeetRaj
0
192
Member Avatar for rati

[B]i have a problem in a program i am making. In my program i need to call a function again and again until the string entered in it is not correct. Initially i was using gets() but it wasn't accepting the string.[/B] [B]i cahnged it to scanf(), so it is …

Member Avatar for Salem
0
734
Member Avatar for rati

Hi all, I am trying to understand the concept of private constructors and singleton. As far as i have studied, we can have private constructors , destructors and that they are used to avoid making instances of the class other than its member function. now that i am trying to …

Member Avatar for vijayan121
0
94
Member Avatar for almy
Member Avatar for rati

hi all, i am writing a program in which i am checking if a string contains another string(same what strstr does). i assumed intially that the string1 is a long string with spaces and string2 is a word(which might be or might not be present in string1) i have used …

Member Avatar for rati
0
104
Member Avatar for B.Y

You can use [B]strtok [/B]function using string.h It helps u to get the string tokens based on the delimiter u give.

Member Avatar for WaltP
0
10K
Member Avatar for Francis Waldron

The program is having many mistakes, firstly you are dividing the two numbers and then assigning them the values . So when the program encounters the statement of quotient , it will do something like 0/0. which is an error.similarly for remainder. also you are not printing the outputs . …

Member Avatar for Francis Waldron
0
320
Member Avatar for rati

i need to print a wildcard * in the output . a program that takes a string as command line argument prints all the files in the directory instead of *. can u help me?

Member Avatar for rati
0
111
Member Avatar for rati

[B]i want to find out small projects to work upon so as to improve my grip over c, can someone tell me some sites having projects in c:confused: [/B]

Member Avatar for rati
1
116
Member Avatar for rati

hi can anyone tell me please what is segmented error , i have made a program in c on linux and when i am running it after compiling , after a few inputs it shows segmwntwd erroe. what is this??:?:

Member Avatar for rati
2
90
Member Avatar for rati

hi i am rati, i hav joined a software company recently and wud like to improve my knowledge in IT field thru this community. i wish 2 recieve a gud response 4m all regarding my problems in this field:)

Member Avatar for Piper!
0
88

The End.