Search Results

Showing results 1 to 40 of 158
Search took 0.02 seconds.
Search: Posts Made By: n.aggel ; Forum: C++ and child forums
Forum: C++ Mar 28th, 2009
Replies: 9
Solved: Why use assert?
Views: 921
Posted By n.aggel
The cleanest and nicest explanation, one could hope for!
Forum: C++ Nov 21st, 2008
Replies: 5
Views: 2,156
Posted By n.aggel
Thanks for your answers vijayan,


nice explanation!

but:
>http://en.wikipedia.org/wiki/Duplex_(telecommunications)
Forum: C++ Nov 20th, 2008
Replies: 5
Views: 2,156
Posted By n.aggel
sorry i didn't express myself correctly.

University assignment dictates that we do a chat "system" with 2 udp connected peers. In this sense we can't have
a single server, but a lot of peers. So...
Forum: C++ Nov 16th, 2008
Replies: 5
Views: 2,156
Posted By n.aggel
Hi to everyone!
I want to create a simple chat application using udp sockets. I want to have 2 applications that will be able to talk to each other.In particular app1 will send msgs to p2 and p2...
Forum: C++ Jul 28th, 2008
Replies: 14
Views: 1,720
Posted By n.aggel
Hi, i don't have a compiler in front of me.... but the program is small and easy so here is something that should work.

main.cpp

#include <cstdlib>

// #include <iostream>
//don't include...
Forum: C++ Jul 21st, 2008
Replies: 8
Solved: Alignement
Views: 791
Posted By n.aggel
thanks for your help... everything makes much more sense now. the 7 requirements that vijayan posted made everything clear. There are some things that i don't quite get in the last post,
like:...
Forum: C++ Jul 17th, 2008
Replies: 8
Solved: Alignement
Views: 791
Posted By n.aggel
Thank you all for your answers.


Yes.



I can't understand why pad the structure in the end. Ok if we want an array of align1 elements *then* we have to pad the end. But if don't want an...
Forum: C++ Jul 16th, 2008
Replies: 8
Solved: Alignement
Views: 791
Posted By n.aggel
Hi guys, i have one question regarding alignment. Assume that you have the following struct:


struct align1
{
double a;
char b;
int c;
short d;
};
Forum: C++ Jul 13th, 2008
Replies: 2
Views: 472
Posted By n.aggel
thanks vijayan for your assistance!
sorry for asking the RTFM kind of question...:(
Forum: C++ Jul 10th, 2008
Replies: 2
Views: 472
Posted By n.aggel
hi,

i have the following structure in the "simple application":

application_folder
|
|--makefile
|
+-headers
| |
Forum: C++ Jul 10th, 2008
Replies: 4
Views: 1,345
Posted By n.aggel
Narue could you elaborate more on this... It seems like an interesting subject! Being ignorant in the beggining i would agree ivailosp , but you seem to have a point.

Also to limit the scope of...
Forum: C++ May 18th, 2008
Replies: 6
Views: 604
Posted By n.aggel
just amazing.... {i had no intention of spamming , but this code is awesome...}
Forum: C++ May 15th, 2008
Replies: 6
Solved: Threads!
Views: 842
Posted By n.aggel
Thanks for the links!
Forum: C++ May 14th, 2008
Replies: 6
Solved: Threads!
Views: 842
Posted By n.aggel
thank you all, for your answers!

from this link.... http://www.ddj.com/cpp/184401518 is also helpful...

this phrase states my problem:



is there any tutorial ,{or} book for this?
[maybe...
Forum: C++ May 12th, 2008
Replies: 6
Solved: Threads!
Views: 842
Posted By n.aggel
hi to everyone,

In this semester we are having a class concerning High Performace computing / Parallel processing...

In short i have the following questions:

--- We are using pthreads and C....
Forum: C++ Feb 12th, 2008
Replies: 2
Views: 790
Posted By n.aggel
i don't think that gui frameworks are the best way for a beginner to start....You could try QT{its portable and for non commercial use it is free...}
Forum: C++ Dec 25th, 2007
Replies: 4
Views: 590
Posted By n.aggel
421 lines of code without a comment.... i think that self explaining code is about a dozen of lines.. not 421 !!! So you are convinced that if you like these 421 lines after a year or so you will...
Forum: C++ Dec 25th, 2007
Replies: 4
Views: 856
Posted By n.aggel
hi rizoshar,

-first of all try to use code tags and indent your code to make it more readable....
read here (http://www.daniweb.com/forums/announcement8-3.html) to learn how to use code tags

-...
Forum: C++ Dec 23rd, 2007
Replies: 18
Solved: beginners
Views: 3,695
Posted By n.aggel
as Comrade Ogilvy said :: int main(void) is the correct entry point. I don't know the ide you are using but from the output you posted it seems that you have 2 object files {firstprogram.o and...
Forum: C++ Dec 23rd, 2007
Replies: 12
Solved: Drawing Program
Views: 1,395
Posted By n.aggel
to rephrase what lerner already said{and add a little sugar!} if you want to output to screen {a line, a dot or whatever} you must use directly the OS's api or some framework thats supports graphics...
Forum: C++ Dec 23rd, 2007
Replies: 3
Views: 1,039
Posted By n.aggel
although i cannot help you with what you want, maybe you would get more help if you made this post in a more security oriented forum {i can't suggest one, but there must be alot of them}...
Forum: C++ Dec 23rd, 2007
Replies: 4
Views: 1,439
Posted By n.aggel
if you want just the code-wrap future you can use any good editor availible.... i.e. notepad++ (http://notepad-plus.sourceforge.net/uk/site.htm), textpad (http://www.textpad.com/) and many others.......
Forum: C++ Dec 22nd, 2007
Replies: 11
Views: 3,018
Posted By n.aggel
Sorry to resurect an old post... but i haven't read it until now...

i disagree with this statement:



someone could categorize programmers in the following categories:
cat1: Those who want...
Forum: C++ Nov 21st, 2007
Replies: 5
Views: 787
Posted By n.aggel
thanks for all the details :) ... One last question if i have some globals {i.e. a file pointer} that they are used in main and in some of the functions, where is the right place to put them...Is it...
Forum: C++ Nov 20th, 2007
Replies: 5
Views: 787
Posted By n.aggel
thank you for your replies and for the book recommendations{because frankly i haven't bumped in a book that treats this subject}... the problem is that i am in greece so the books are a bit hard to...
Forum: C++ Nov 20th, 2007
Replies: 5
Views: 787
Posted By n.aggel
hi lets say you have a big application and you want to break it up to many files... The ideal would be if you can have the application in one .c {i.e main.c} file your types and includes in another...
Forum: C++ Nov 6th, 2007
Replies: 24
Views: 1,751
Posted By n.aggel
please use code tags or other people won't be able to help you....

here is your code


#include <iostream>
#include <conio.h>
#include <cstdlib>
#include <cmath>
#include <cstdio>
Forum: C++ Nov 5th, 2007
Replies: 3
Views: 821
Posted By n.aggel
i think this topic is called interprocess communication {i am just starting learning about it..}
Forum: C++ Nov 4th, 2007
Replies: 9
Views: 1,695
Posted By n.aggel
truth be told, i have never heard about trampolines before your post{my fault}... still everything you wrote is very interesting.

thanks vijayan!

PS::
for other newbies{like me} :: here is a...
Forum: C++ Nov 3rd, 2007
Replies: 9
Views: 1,695
Posted By n.aggel
thank you salem! your answer was very helpful.
Forum: C++ Nov 3rd, 2007
Replies: 9
Views: 1,695
Posted By n.aggel
thank you all for your answers:

with the example i stated above gcc didn't do a better job {if i understand correctly the output}

.file "testGCC.c"
.text
.globl main
.type main, @function...
Forum: C++ Nov 3rd, 2007
Replies: 9
Views: 1,695
Posted By n.aggel
Hi,

if we had the following program::

int main()
{
int a, d;

int b=12;
int c=13;
Forum: C++ Oct 27th, 2007
Replies: 4
Views: 583
Posted By n.aggel
if you don't post your code, we can't really help you...
Forum: C++ Oct 9th, 2007
Replies: 4
Views: 556
Posted By n.aggel
if this solved your question, why don't you mark the thread as solved...
Forum: C++ Oct 9th, 2007
Replies: 9
Views: 17,882
Posted By n.aggel
for anyone who doesn't know what lint is{i didn't!} read this (http://en.wikipedia.org/wiki/Lint_programming_tool).

PS:: although i am not an experienced programmer, for purely aesthetically...
Forum: C++ Oct 9th, 2007
Replies: 3
Views: 1,073
Posted By n.aggel
thanks for your answers! vijayan your example example did clarify ...
Forum: C++ Oct 7th, 2007
Replies: 3
Views: 1,073
Posted By n.aggel
hi, i am reading the book "The c++ standard library -- a tutorial and reference"{N.M.Josuttis}

in the beggining of the 6th chapter it says{in regard to container initialization}::

...
Forum: C++ Oct 7th, 2007
Replies: 12
Views: 1,084
Posted By n.aggel
PuTTY is not a compiler, it is a free software SSH, Telnet, rlogin, and raw TCP client, you can read more here (http://en.wikipedia.org/wiki/PuTTY)... You can donwload a windows version here...
Forum: C++ Oct 6th, 2007
Replies: 5
Views: 1,387
Posted By n.aggel
thank you all for your help...

vijayan was right... you see in this program i tested both the const_iterator and the iterator... When i copied the for-loop {from the part where i was testing the...
Forum: C++ Oct 5th, 2007
Replies: 3
Views: 4,988
Posted By n.aggel
please use code tags...so that your code is more readable...this way more people can help you....

for c++ code, type [ code=c++]//your code goes here[/code]

e.g.

#include<stdio.h>
void...
Showing results 1 to 40 of 158

 


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

©2003 - 2009 DaniWeb® LLC