Thanks all for the reply :)
Type: Posts; User: yes
Thanks all for the reply :)
Hi everyone
I have been looking recently on the best way of organising writing a C++ code. some people using .h,.cpp and .cpp while others write all the code in one .cpp even if it has many...
Hi everyone
I am reading a C++ book and mention using Greatest Common Factor GCF , does anyone have any idea on how to use it and why it required with example please.
many thanks
Thank you so much, I fully understand it now.
Hi everyone
can anyone clariy to me the use of static_cast with example.
Why using it and where?
thank you
Thank you so much ZUK it is the perfect thing to my outfile.
I would like just to round my Avg in my output file.
The Avg gets it value after a calculation and print its out put in a stream file. so now How do I round the Avg only.if my output statement...
hi everyone
I would like to roungd 2.34567 to 2.34, can I have something like that in C++.
if you see this
#include <stdio.h>
#include <math.h>
thak you all I did it
Hi Salem
If i got you idea right, this will be affected, by the end of the month and the begining
I do not have a complier error in it,
The Function did not bring this month.
one final this because I read a input file of the previous day, so the out put should be put in the same month,...
Hi
I have this function, I built 2 days ago, yesrterday it was working perfectly, today not.
char *month(int months, const char *format, char *text, size_t size)
{
time_t t;
if (...
Thank you guys I was using .ini file and did not put it in the same extension of the .exe file so, now it is working perfectly.
many thanks
ok I there is a bug in my code, why when run the program in project.dsw it gives the right result in the output file.
:confused: I wonder how I will fix that bug without knowing what is it, and...
Hi
I using window xp and scheduler a task for my exe file, it worked pefectly when I built my application using win32, it run perfectly and stopped after putting the result in the output file.
...
Hi everyone
I did a counter to get the value from a simple number file, because I used the counter to
while ( counter <=10)
{
value=getline( filename, line);
sum+=value;
Hi everyone
I built my code using console application, one problem is that I would like to stop the black screen from appearing, when I run my .exe part how could I stop it.
In win32 you can by...
Thank you all for your post,
may I ask you Darryl
I would like to download SDK plateform but I am not quite sure which one,
I am have windowxp professional, I am having the old version that comes...
hi about the new version of MVC++ 2005, if I installed dose this mean I will not be able to use the old version.
MVC++2005 is free, so why it asks you after installing it, if you want to buy a...
Hi Ancient dragon
I would like to use the Idea of creating .ini file, but to be hounest this is the first time I am going to use it. so if you have any link I can learn from it how to create .ini...
I am sure you are angery from me keep asking. sorry for that.
I know it is an easy thing to ask the user to enter the whole path and the file name. but
thats mean every time window xp scheduler...
if I am going to use this way, thats mean every time window xp scheduler task runthe project.exe the user have to enter the path and I do not want something like this, I am not sure if I express...
thank you I learned new thing from you today.
part of my program is
if ( foo(-1, "C:\\Wadi\\In\\Log_%d.csv", filename, sizeof filename) ) //this function to bring file according the day...
Hi and thaks for your reply, I think I did not get the full idea of your post, can you clarify it please.
thank you
Hi evryone
I using MVC++ and built my project using Win32 app.
My program do not have any interfaces. it reads files and it put the output in another file. ( I do not mind put interface only to...