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
~1K People Reached
Favorite Tags
c++ x 8
c x 3

8 Posted Topics

Member Avatar for snedan

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()) …

Member Avatar for Narue
0
90
Member Avatar for Valadair

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) == …

Member Avatar for Valadair
0
109
Member Avatar for snedan

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! :)

Member Avatar for Duki
0
42
Member Avatar for snedan

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 …

Member Avatar for ~s.o.s~
0
128
Member Avatar for snedan

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 …

Member Avatar for snedan
0
346
Member Avatar for snedan

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 …

Member Avatar for WaltP
0
91
Member Avatar for snedan

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 …

Member Avatar for WolfPack
0
104
Member Avatar for snedan

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

Member Avatar for ~s.o.s~
0
100

The End.