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
~26.9K People Reached
Favorite Tags
Member Avatar for isralruval

how would i write a function that parses a hex number as a string into a decimal integer. I have the following done i just need help finishing it. any help will be appreciated[code]#include <iostream> #include <string> using namespace std; int parseHex(const string &hexString) int main() { cout << "Enter …

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
141
Member Avatar for DoEds

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
252
Member Avatar for LisaJane

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

Hey guys... I want to write a program that transforms numbers into letters and letters into numbers... for example 20 would be transformed into twenty I have this but I don't know what's missing or what's the problem... help please [CODE]#include <iostream> #include <string> using namespace std; using std::string; void …

Member Avatar for rati
0
144
Member Avatar for leinadbg

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++?

Member Avatar for marco93
0
175
Member Avatar for JooS

Hi, I have homework assignment to make a minesweeper game using classes. In that game I have 3 lives,when I enter coordinates with I loose life,otherwise i get point. Here is how I tried to solve the problem,but I have some errors in it. Can you check it please and …

Member Avatar for JooS
0
120
Member Avatar for Towely

I'm trying to make a function that adds the digits of a number together and finds the sum of them. For example, for the number 9211, I want to add 9 + 2 + 1 + 1 and output the sum. Here's my function, I can't figure out where I …

Member Avatar for kri_prasad2000
0
179
Member Avatar for gunjanagrawal

U can find all the program in c.If du u have any query about c plz ask me and also program

Member Avatar for nucleon
-1
183
Member Avatar for staufa

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
86
Member Avatar for Se7Olutionyg

// file: PayrollFunctions.cpp // Computes and displays gross pay and net pay given an hourly // rate and number of hours worked. Deducts union deus of $15 // if gross salary exceeds $100; otherwise,deducts no dues. #include <iostream> using namespace std; // Functions used... void instructUser(); float computeGross (float, float); …

Member Avatar for rati
0
117
Member Avatar for sandya_vish

Given the following student data (code, number, first name, last name, mark): CSC10208 1 Fred Nurks 50 ISY00245 4 Fred Bassett 75 Write a program to open a file, accept data in the above format using a struct, write the data to the file and then close the file. Your …

Member Avatar for skatamatic
0
89
Member Avatar for FAZ3

Can someone help me create a function in a linked list program that replaces an element in (I) place with an element a user enters? here is the sudo code I tried to implement but Im kinda lost. this is in my header file -> [icode]typedef int el_t; // el_t …

Member Avatar for stilllearning
0
98
Member Avatar for Se7Olutionyg

[code=cplusplus] // 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 …

Member Avatar for sidatra79
0
103
Member Avatar for abelingaw

A program where u have a 10 input number and enbles u to choose wether the output is in asecnding or descending order. Thanks in advance!!

Member Avatar for rati
0
168
Member Avatar for unk45

alright..so i have to create an overloaded func where i replace O with E in str and replace world with jack in str and print from main using pointers to pass my strings to the func(needs to adhere to the mentioned)...need help ASAP ppllzz.. thnx [code] #include <iostream> using namespace …

Member Avatar for rati
0
123
Member Avatar for sham
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
57
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
62
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
76
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
99
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
72
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
280
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
191
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
730
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
91
Member Avatar for almy

i know how to sort a few number but i dont know to sort alphabet. anybody can help me??? plez;-)

Member Avatar for rati
0
142
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
101
Member Avatar for B.Y

I have a s1.txt like this : 3,R,G,T 1,E 9,T,U,Y,O Now I want to read each character of a each line ...do some analysis and then read each character of the next line ...do some analysis ...so on till EOF. How do I go abt this? Well ...I jus wrote …

Member Avatar for WaltP
0
9K