Search Results

Showing results 1 to 21 of 21
Search took 0.01 seconds.
Search: Posts Made By: TasostGreat
Forum: C++ Jan 27th, 2009
Replies: 3
Views: 690
Posted By TasostGreat
ok thanks problem solved
Forum: C++ Jan 26th, 2009
Replies: 3
Views: 690
Posted By TasostGreat
might the pointers be the problem if so what do i have to change ?
Forum: C++ Jan 26th, 2009
Replies: 3
Views: 690
Posted By TasostGreat
i've got this code it compiles but it when I try to run it it says segmenatation fault
/*
#include <stdio.h>
#include <iostream>

using namespace std;

int rite();
int a,b;
char g,f;
Forum: C++ Jan 21st, 2009
Replies: 1
Views: 712
Posted By TasostGreat
after compiling my prog i ran it with the command time time ./a.out
and it gave me this output
real 0m0.844s
user 0m0.172s
sys 0m0.596s

what does this output mean ?
Forum: C++ Jan 20th, 2009
Replies: 8
Views: 606
Posted By TasostGreat
Forum: C++ Jan 20th, 2009
Replies: 8
Views: 606
Posted By TasostGreat
Forum: C++ Jan 20th, 2009
Replies: 8
Views: 606
Posted By TasostGreat
I'm trying to write a program in C++ which writes characters into a file from 100 chars up to 120.000.000 chars in Linux. Would it be faster if I would try to use multithreading and if yes could you...
Forum: C++ Jan 18th, 2009
Replies: 3
Views: 613
Posted By TasostGreat
if you have noticed i am not making the same question there is a difference

in the previous thread i added a last question which is not replied



all around is to make the question more...
Forum: C++ Jan 17th, 2009
Replies: 3
Views: 613
Posted By TasostGreat
do these direct system call functions exist and if yes what are those. I haven't found anything but i am sure i have read something about that.
please help thanx in advance
Forum: C++ Jan 17th, 2009
Replies: 3
Views: 613
Posted By TasostGreat
I'm trying to write a program which reads a file really small size with two number and a character and ouput another file which can have up to 120.000.000 characters. is unistd equal to direct system...
Forum: Windows Vista and Windows 7 Jan 15th, 2009
Replies: 1
Views: 1,016
Posted By TasostGreat
I tried to install linux on my system and without knowing I formatted my disk on which i had installed Vista Ultimate. After realizing that i made a clean installation of vista ultimate on the disk...
Forum: C++ Jan 14th, 2009
Replies: 6
Views: 1,431
Posted By TasostGreat
ok i see
is unistd equal to direct system call function? i am sure i've read something about that and it's beeing faster but i am not sure. i've made a search but it has been fruitless
Forum: C++ Jan 14th, 2009
Replies: 6
Views: 1,431
Posted By TasostGreat
I'm trying to write a program which reads a file really small size with two number and a character and ouput another file which can have up to 120.000.000 characters. My answer which is the fastest...
Forum: C++ Jan 12th, 2009
Replies: 8
Solved: how does % work
Views: 373
Posted By TasostGreat
i am sorry i thought i saw % and not & ok problem solved
Forum: C++ Jan 12th, 2009
Replies: 6
Views: 781
Posted By TasostGreat
Forum: C++ Jan 11th, 2009
Replies: 8
Solved: how does % work
Views: 373
Posted By TasostGreat
is there any way of just checking the last bit in the binary array of a number
Forum: C++ Jan 11th, 2009
Replies: 6
Views: 781
Posted By TasostGreat
is stdio.h in this example with this file faster then fstream ?
Forum: C++ Jan 11th, 2009
Replies: 8
Solved: how does % work
Views: 373
Posted By TasostGreat
ok i have this code if (b | 0x1) odd(); else even();
but it doesn't seem to work proper with some test files since it alway ends up at odd() what am i doing wrong b is alway an integer and positive...
Forum: C++ Jan 11th, 2009
Replies: 6
Views: 781
Posted By TasostGreat
can anyone give me a simple example of what Salem hsa mentioned for example with fscanf

thanx
Forum: C++ Jan 11th, 2009
Replies: 6
Views: 781
Posted By TasostGreat
i'w wondering whether there is a difference between fstream and stdio.h when processing a file with these data
10 10
P

with fstream it's easier to get the data since with stdio.h i'd need to...
Forum: C++ Jan 11th, 2009
Replies: 8
Solved: how does % work
Views: 373
Posted By TasostGreat
i'm trying to figure out what is the fastest way to do an odd / even check on numbers i don't know whether there is a mathematical way of achieving this i've heard that the fastest would be checking...
Showing results 1 to 21 of 21

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC