No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
ok, i need small help, to create/open a file with specific name, in order to make it clear here's a small function from my program [code=cpp] void CreateNew () { string fileName = "helpme.txt"; //==>>> my problem!! ofstream DataFile; DataFile.open(fileName, ios::out | ios::app); // string fileName == filename if (DataFile.is_open()) … | |
Re: im not sure what are you looking for, but thats a function that checks string for a char and returns true or false; also it returns position of as a ref parameter. [code=c]#include <string.h> #include <iostream> using namespace std; bool FindS (string strMain, string strWord, int &pos){ if (strMain.find(strWord) == … | |
so i've got accepted (im a high school student) for [URL="http://www.centennialcollege.ca/future/bac.jsp"]Bachelor of Applied Information Sciences Computer and Communication Networking[/URL] like how handsome and usefull it is in terms of finding a job?? what about money side?? so [B]any[/B] feedback would be great! Thanks! :) | |
Im usind Dev-C++ and it allows to return more than 1 value :eek:. ok, so here's my code : [code=c] #include <iostream> using namespace std; int intFirst, intSecond, intThird; int BreakUp(int intNumb) { intFirst = intNumb / 100; intSecond = (intNumb - (intFirst * 100)) / 10; intThird = intNumb … | |
Can someone point me to one, because our high-school library is way too old. And it wont work with Dev-C++(we using in it in CS class). Thank you. [code=c]/* Lawrenceville Press Random Library */ /* October 1997 */ /* The following code works correctly under BOTH */ /* Borland and … | |
so this program suppose to find number of primes (number that divides only by itself) in the given range. I know the problem is with my "for" statement.. i just cant find it :( Thank you [CODE=c]#include <iostream> using namespace std; int main() { int intStart, intEnd, intPrime; intPrime=0; cout … | |
I need help with following algorithm: Initaliaze a counter at 2; So long as the counter is less then or equal to number; if the counter divides the number evenly; //<<==problem display the counter; else add one to the counter; ------- so i just cant figure how to check: "if … | |
hi guys i need a little hint on how to break an integer into its component so if you have like 1567 i need to get 4 integers with 1,5,6,7. Thank you |
The End.