Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~7K People Reached
Favorite Tags

25 Posted Topics

Member Avatar for san gabriel

here a better version: Problems: the close parentheses is missing :-p [code=cplusplus] #include <iostream> #include <iomanip> #include <cstring> using std::strtok; using namespace std; int main() { char sentence[32]; char *tokenPtr; cout << "Input Telephone No.: " ; cin >> sentence; tokenPtr = strtok( sentence, ")-" ); while ( tokenPtr != …

Member Avatar for siddhant3s
0
167
Member Avatar for Curtain51

you can use a for loop to print using the following syntax(just like an array) [code=cplusplus] cout << values[i] << endl; [/code]

Member Avatar for Curtain51
0
126
Member Avatar for Jacky1

I need a way to send email through smtp server ssl secured Programming Language: C++ Platform: Windows XP I need something doesn't involve visual studio Thanks in advance!

Member Avatar for William Hemsworth
0
231
Member Avatar for Jacky1

I want to know if this image has been viewed let say if I have this link : [url]www.example.com/image.jpg[/url] when the imaged get viewed I want store the time of view in db , my only problem is how can I tell if the image has been viewed and how …

Member Avatar for Jacky1
0
833
Member Avatar for Jacky1

am trying to append to file but its not going correctly every time it fail to connect to file [code] #include<iostream> #include<fstream> using namespace std; int main() { fstream file; char word[256]; file.open("StudentInfo.txt",ios::app); //file.open("StudentInfo.txt",fstream::app); // wont work too if(file.fail()) { cout << " Error opening the file " << endl; …

Member Avatar for WaltP
0
125
Member Avatar for Jacky1

Am writing a code in c# and when I build the application as release and I go to the project file/bin/release I find the exe file when I run it works just fine but when I try to do anything like open a file or exit I get this error …

Member Avatar for BlackSun
0
63
Member Avatar for Jacky1

OK i have an array of 10 elements and I want to color the 5th element with a different color than the default color , is that possible ? Thanks

Member Avatar for Jacky1
0
102
Member Avatar for Jacky1

ok am new to C# and am doing good so far except I been having a problem with the exit button the code for the exit button is: close(); or I use = this.close(); and that close the form but the problem is that the program still in the process …

Member Avatar for Jacky1
0
96
Member Avatar for berting

check this out [url]http://www.daniweb.com/forums/thread150364.html[/url]

Member Avatar for ajay.krish123
0
95
Member Avatar for ecentric

[CODE=CPLUSPLUS] #include<iostream> #include<fstream> using namespace std; int main() { ifstream ifile; ifile.open("text.txt"); string words; while(ifile >> words) { if(words[0]== 'f') { // if the first letter is if // here you can do the replacing } } return 0; } [/CODE] give it a try and see!

Member Avatar for ArkM
0
2K
Member Avatar for mrnutty

you can just break; or you can do this [CODE=CPLUSPLUS] creat bool notfound = false; out side the for loop if(key > arry[last]) { notfound = true; } and after the for terminate you can check and see if notfound is equal to true [/CODE]

Member Avatar for Jacky1
0
130
Member Avatar for Jacky1

Hi I would like someone to check what am doing 1- Declare a 4-byte variable in a relocatable segment of internal directly addressable data memory. [code] x SEGMENT data RESG x x: DS 4 [/code] 2- Declare a 2-byte variable in an absolute segment of internal directly addressable data memory …

0
64
Member Avatar for Jacky1

ok lets say I have my code file in my web server and any one can call that functions in that file ( assuming they know the name of the functions ) but they can't see the actual implementation in other word they can use the implementation but they can't …

Member Avatar for Jacky1
0
86
Member Avatar for Jacky1

I did make my dll file out off those two files dll.h [code] #ifndef _DLL_H_ #define _DLL_H_ #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else /* Not BUILDING_DLL */ # define DLLIMPORT __declspec (dllimport) #endif /* Not BUILDING_DLL */ DLLIMPORT void welcome(); class DLLIMPORT DllClass { public: DllClass(); virtual ~DllClass(void); …

Member Avatar for Jacky1
0
118
Member Avatar for afg_91320

see the different between my code and yours [code==cpluscplus] #include <iostream> #include <iomanip> #include <cmath> using namespace std; // Function declarations char menu(); void circle(); void rectangle1(); void triangle(); // Main function int main( int argc, char *argv[] ) { char choice; bool loop = true; while( loop ) { …

Member Avatar for azy422
0
212
Member Avatar for Foe89

use an array and a for loop see an example [code=cplusplus] int num[size]; for(int i=0;i<size;i++) { cout << "Enter another value.\n"; cin >> num[i]; if (num[i] > greatest) greatest = num[i]; else if (num[i] < least) least = num[i]; } cout << " and to output " << endl; for(int …

Member Avatar for joshmo
0
104
Member Avatar for Jacky1

I need some help with code after a Single step through lines 1-5 using uVision2. Will the entire code segment be executed with the current values in P0? Why? Alter the value of P0 within the debugger to enable the program to continue execution. Single step through lines 6 and …

Member Avatar for Colin Mac
0
119
Member Avatar for Jacky1

Hi I need help with the remove function in the AVL tree void remove( generic x ); Thank you guys

Member Avatar for Jacky1
0
91
Member Avatar for blcase
Member Avatar for Jacky1
0
102
Member Avatar for Jacky1

Hi I'm trying to test my code but I keep getting some kind of strange errors bst.hpp: In member function `void Bst<generic>::insert(generic) [with generic = int]': test_BST.cpp:30: instantiated from here bst.hpp:36: error: invalid conversion from `int' to `int*' bst.hpp:47: error: ISO C++ forbids comparison between pointer and integer bst.hpp:52: error: …

Member Avatar for Jacky1
0
2K
Member Avatar for demroth

I think it's still crashing 0x08048fbb in countSort (numbers=0xbfea2af0, size=5) at sorting.cpp:69 69 b[c[a[j]]-1] = a[j]; I wish I can help :(

Member Avatar for Ancient Dragon
0
129
Member Avatar for arun.gerrard

this maybe what your looking for [url]http://www.cplusplus.com/reference/clibrary/ctime/clock.html[/url]

Member Avatar for Ancient Dragon
0
105
Member Avatar for Jacky1

Hi guys I'm trying to generate a radnom float number between 1.2 and 2.3 but when compile I get this error: cal.cpp: In function `int main()': cal.cpp:13: error: invalid operands of types `int' and `double' to binary `operator%' the code: [CODE] int main() { srand(time(NULL)); float num; num = rand() …

Member Avatar for Jacky1
0
181
Member Avatar for Jacky1

Hi guys I wrote a c++ code but when I compile it I got some errors I couldn't figure it out course.cpp: In constructor `Course::Course(std::string, int)': course.cpp:7: error: initializer expression list treated as compound expression course.cpp:7: error: invalid conversion from `int' to `char*' main.cpp: In function `int main()': main.cpp:12: error: …

Member Avatar for zandiago
0
107
Member Avatar for Jacky1

Hi guys I'm doing a program for one of my class but the teacher asked us to write a language mangler to modfiy a sentence and make it nonsentence And he want us : - If any word has length 9 or more characters, insert into the word after the …

Member Avatar for Narue
0
100

The End.