Search Results

Showing results 1 to 33 of 33
Search took 0.01 seconds.
Search: Posts Made By: f.ben.isaac
Forum: C++ Apr 15th, 2009
Replies: 9
Views: 496
Posted By f.ben.isaac
I need to know how i did? Any review will be appreciated...

/**program description:
*
* this simple program represents
* the basic concept of threads.
* main() process will create a
* thread...
Forum: C++ Apr 12th, 2009
Replies: 3
Views: 459
Posted By f.ben.isaac
Yes it checks which ports are opened and which are closed...You specify starting port and ending port.
Forum: C++ Apr 12th, 2009
Replies: 3
Views: 459
Posted By f.ben.isaac
How good this code in terms of clarity, readability, and overall design? Easy to understand them or not?

Note: i put system("pause") which is not recommended. cin.get() is a better one in case you...
Forum: C++ Apr 9th, 2009
Replies: 10
Views: 1,012
Posted By f.ben.isaac
Forum: C++ Apr 9th, 2009
Replies: 10
Views: 1,012
Posted By f.ben.isaac
/**program description:
*
* this program is a simple quadratic equation
* solver. I tried to make the code talks about
* itself by giving good descriptive names and
* reducing unneeded...
Forum: C++ Apr 9th, 2009
Replies: 10
Views: 1,012
Posted By f.ben.isaac
I agree, this looks much better:

void quadraticFormula(double a, double b, double c, double totalResults[])

quadraticFormula(a, b ,c, x);

Cheers...
Forum: C++ Apr 9th, 2009
Replies: 10
Views: 1,012
Posted By f.ben.isaac
Ok, great... I didn't know that system("pause"); is very expensive

1.suspend your program
2.call the operating system
3. open an operating system shell (relaunches the O/S in a...
Forum: C++ Apr 9th, 2009
Replies: 10
Views: 1,012
Posted By f.ben.isaac
Please tell me what do you think of the written code below, is it easy to follow? Does the code tells you what it does, or you have struggled realizing whats going on? and so on. Feel free to give...
Forum: C++ Apr 9th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
Putting a space between #include and HEADER NAME makes the code looks better as far as i see. On the other hand, i respect tux4life point of view too. Thanks to all who participated in this thread
...
Forum: C++ Apr 9th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
You should not put any spaces
between the arithmetic expression, it should
be written as 5+3 or -6+3, and so on
Forum: C++ Apr 9th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
I agree with you, i should have done input validation. However, i will leave it as an exercise for those who wants to practice :-P
Forum: C++ Apr 9th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
I found that template function should be called as

performCalculation<float>(num1, num2, operatorSign); even though
performCalculation(num1, num2, operatorSign); worked fine

Regards
Forum: C++ Apr 9th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
The copyright is in there by mistake i guess :-)

Get rid of the "SEE YOU LATER" at the end. (Why do beginners always do that?)

:-)) Now, you made my day
Forum: C++ Apr 8th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
Forum: C++ Apr 8th, 2009
Replies: 21
Views: 857
Posted By f.ben.isaac
1. Simple calculator - nothing fancy

/**program description:
*
* simple calculator written for beginners.
* This program asks user to enter an arithmetic
* expression that contains two...
Forum: Oracle Apr 3rd, 2009
Replies: 2
Views: 803
Posted By f.ben.isaac
Forum: Oracle Mar 31st, 2009
Replies: 2
Views: 803
Posted By f.ben.isaac
I'm looking forwards to attend such course: http://unex.uci.edu/certificates/it/oracle_db/courses.asp..

look at the dates and time. Its quite intensive, my question: will i have a chance to write...
Forum: C++ Mar 23rd, 2009
Replies: 7
Views: 757
Posted By f.ben.isaac
hmmm, i see. I must change the design structure. I will see what i can do. ..If you have a brief suggestion or tip, feel free to tell me. I will take it under consideration.

Extra note: I kind of...
Forum: C++ Mar 23rd, 2009
Replies: 7
Views: 757
Posted By f.ben.isaac
Forum: C++ Mar 23rd, 2009
Replies: 7
Views: 757
Posted By f.ben.isaac
void MenusLayout::patchEXE(const char *newIPAddress, const char *newPortNumber)
{
string DEFAULT_IP = "255.255.255.255";
string DEFAULT_PORT = "55555";

size_t defaultIPSize =...
Forum: C++ Mar 22nd, 2009
Replies: 7
Views: 757
Posted By f.ben.isaac
Ok, i thought about shifting, but when i reverse the .exe file using Hex Workshop i find there is nothing after Happy....

..G$...&....Don't Play with MemoryHappy........xxxxyyyzzz

the bold...
Forum: C++ Mar 22nd, 2009
Replies: 7
Views: 757
Posted By f.ben.isaac
const char* findThisMsgInMem = "Hello World! Everyone is Happy";
if(memcmp(&dataInMem[i], findThisMsgInMem, defaultMsgSize) == 0)
{
memcpy(&dataInMem[i], newMsg,...
Forum: C++ Nov 30th, 2008
Replies: 2
Views: 720
Posted By f.ben.isaac
Forum: C++ Nov 29th, 2008
Replies: 2
Views: 720
Posted By f.ben.isaac
To make things easier for cosing in Win32 API, MFC is created which wraps Win32 API in classes.

At the beginning i though MFC is there only to aid you making C/C++ GUI Application.

For example,...
Forum: Network Security Nov 28th, 2008
Replies: 5
Views: 1,406
Posted By f.ben.isaac
I know how to use nmap, netcat & nslookup.

What steps should i take to put down my server, i will be hacking my own server using attackers fashion. I will do it from internet cafe'....

Please...
Forum: C++ Nov 16th, 2008
Replies: 3
Views: 552
Posted By f.ben.isaac
I got some newbies questions, i hope to hear from you... Feel free to answer any! I will appreciate it so much if you answer them all :-)

1. Do AV's generally (windows security specifically) trust...
Forum: IT Professionals' Lounge Nov 13th, 2008
Replies: 6
Views: 699
Posted By f.ben.isaac
Well Answered....MANY THANKS! Even though, i did not understand fully the extra part you were talking about, but i got the gist....Good explaination
Forum: C++ Nov 12th, 2008
Replies: 2
Views: 696
Posted By f.ben.isaac
Is this zero-page thread is created immediately after the process is created?
Forum: IT Professionals' Lounge Nov 12th, 2008
Replies: 6
Views: 699
Posted By f.ben.isaac
I'm wondering, if compilers are written in human readable way, then how come the machine could read the compiler?

If machine could read the compiler - which is by itself is not a machine language,...
Forum: C++ Nov 12th, 2008
Replies: 2
Views: 696
Posted By f.ben.isaac
Threads are scheduled to run based on their scheduling priority. Each thread is assigned a scheduling priority. The priority levels range from zero (lowest priority) to 31 (highest priority)....
Forum: C++ Oct 26th, 2008
Replies: 4
Views: 981
Posted By f.ben.isaac
I did not do this #pragma comment(lib, "Ws2_32.lib")

I went to the linker & put the path that leads to Ws2_32.lib....

THANKS
Forum: C++ Oct 26th, 2008
Replies: 4
Views: 981
Posted By f.ben.isaac
Forum: C++ Oct 26th, 2008
Replies: 4
Views: 981
Posted By f.ben.isaac
Hello, first of all i'm glad to be a member here. Nice to be with you!

I wrote a simple dum port scanner. For practicing purposes. It worked fine under linux, i ported to windows, i linked it to...
Showing results 1 to 33 of 33

 


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

©2003 - 2009 DaniWeb® LLC