No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
output should like that: input #: (909)869-2511 area code: (909) exchange: 869 ext.: 2511 telephone #: (909)869-2511 this is my code so far: [code=cplusplus] #include "stdafx.h" #include <iostream> #include <iomanip> #include <cstring> using std::strtok; using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char sentence[32]; char *tokenPtr; tokenPtr = &sentence; … |
|
Re:
I'm having a bit of trouble with this one, the goal of this program is to enter in 1 to 5 numbers, with a maximum of 5, into a vector and then popping as many numbers as the user wants until the vector contains nothing. My problem is that I … |
|
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! |
|
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 … |
|
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; … |
|
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 … |
|
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 |
|
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 … |
|
Re:
i need to write a program which inputs an integer value, checks that it is possitive, and outputs its factorial,using formulas factorial(0)=1 factorial(n)=n*factorial(n-1) sample output: input possitive number: 6 factoral of 6is: 720 |
|
Re:
Write a short program thats reads a file called text.txt that replaces all words that begins with the letter f and is replaced with the word frog. Now i have a jeist of how to replace words with another word however i am unsure how to find words only starting … |
|
Re:
hi everyone, I was practicing binary search with array and encountered a problem. My code works but I can't help to make one part of it better. Well look at my code to understand my question better. [code] int binary_search(int arry[], int size) { int first = 0; int last … |
|
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 … |
|
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 … |
|
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); … |
|
Re:
ive been slaving over this code and i would appreciate if you could help me see the errors that are in this program. this is a program that i have made with functions and switch statements the goal is to make a program that will be a 'geometry calculator' and … |
|
Re:
[code=cplusplus] #include <iostream> using namespace std; int main() { int num, greatest, least; char doAgain; do { cout << "This program lets you input a series of numbers and finds\nthe greatest and least values.\n"; cout << "Type in a value. -99 will finish the series.\n"; cin >> num; if (num … |
|
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 … |
|
Hi I need help with the remove function in the AVL tree void remove( generic x ); Thank you guys |
|
Re:
Hey, i dont need any specific help but i was wondering if anyone could help me generate an idea for my project. basically i have to use queues, deques, and stacks in a programmable way. The exammple that was given in class (which we can't use) is a librarian takes … |
|
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: … |
|
Re:
I thought I had posted this earlier but... I am working on a sorting problem using counting sort but am getting a crash when I run the program. I have fixed some of the problems but I am still missing something. I just need a extra pair of eyes to … |
|
Re:
ive been writing a c++ program to make a quiz but i couldn't figure out about how u can put a timer. the timer should actually countdown from 20 to 1 and once the time is over it has 2 move on to the next question and no points should … |
|
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() … |
|
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: … |
|
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 … |