Search Results

Showing results 1 to 40 of 170
Search took 0.02 seconds.
Search: Posts Made By: TkTkorrovi
Forum: DaniWeb Community Feedback Sep 13th, 2007
Replies: 5
Views: 1,341
Posted By TkTkorrovi
You are sadist, Narue, evidently. Also you said in irc, that what you did against me, was "because of fun". I don't find that sadism is fun, and no reasonable person doesn't.
Forum: DaniWeb Community Feedback Sep 13th, 2007
Replies: 5
Views: 1,341
Posted By TkTkorrovi
I was banned from DaniWeb IRC after jtwenting saying to me that if i were in gulag, i didn't last five minutes when i didn't lick the shoes of the party apparatchic, and after i dared to say anything...
Forum: C Sep 13th, 2007
Replies: 15
Views: 2,136
Posted By TkTkorrovi
There should be some examples in borland c, try to compile one graphics example and see whether it works. Then you know whether the problem is in your code, or in your installation of the compiler....
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
Please at least don't start lying to me, the system don't let me send private messages to you. But if this is some system fault, then think how you treat people, from that depends how understanding...
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
Well and you, Ancient Dragon, should understand the same as well. You in addition to everything blocked your private messages for me, in spite that i didn't write you anything offensive, except for...
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
Narue, don't you still understand that a peson, whose tongue is cut, no not only by you, but not this is important here, cannot reply you, so it doesn't make any sense to talk to me any more.
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
I think you well understand that you can allow yourself anything now, you cut my tongue, and i may not even be able to reply. All the words are meaningless after that.
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
OK, what i can say here, i'm forcefully violated against, i let it to everyone to think, what interests this may serve. My posts are edited against my will, a possibility to protect myself is taken...
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
Well, at least i don't listen to you any more.
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
> That's not how buffering in C works. You're confused about the connection between a command shell and a C program.

One should understand that it's not possible to implement standard input with...
Forum: C Sep 12th, 2007
Replies: 33
Views: 68,499
Posted By TkTkorrovi
Yes it sounds complicated, and any stdafx.h is not a standard c header, either. What is GPP? If you mean gcc, then why it's complicated? Use command line, gcc something.c -o something.exe (in mingw...
Forum: C Sep 12th, 2007
Replies: 2
Views: 1,116
Posted By TkTkorrovi
Well we would not start to teach you mathematics here, finally this is a programming forum, you may ask these questions in some mathematics or physics forum. But in short, there are other ways to...
Forum: C Sep 12th, 2007
Replies: 16
Views: 6,266
Posted By TkTkorrovi
Well it's getchar but getchar is not exactly equivalent to the getche in borland c... By default, the standard input in c is in the canonical mode, which means that all input is line buffered and the...
Forum: C Sep 9th, 2007
Replies: 2
Views: 775
Posted By TkTkorrovi
I may help if i knew how far you actually are. It is not very difficult to write a simple text editor from scratch, first you likely have to implement a doubly linked list of pointers to lines, at...
Forum: C++ Sep 7th, 2007
Replies: 10
Views: 1,365
Posted By TkTkorrovi
The simplest bubble sort...

#include <stdio.h>

int main ()
{
int t, i, j, arr [] =
{3, 6, 1, 2, 3, 8, 4, 1, 7, 2, 0};

for (i = 0; arr [i]; i++);
Forum: C Sep 7th, 2007
Replies: 2
Views: 733
Posted By TkTkorrovi
Yes, Salem is right, %c gives you a character with a corresponding code, not a number, 1 1 0 1 0 1 1 1 is exactly what your program outputs when you use %d. Also, when you initialize the arrays, you...
Forum: C Sep 6th, 2007
Replies: 1
Views: 1,561
Posted By TkTkorrovi
Load shared library, and call a function in it. Don't use debugger, instead add debug statements to the code, it's much more efficient and faster that way.
Forum: C++ Sep 5th, 2007
Replies: 3
Views: 1,033
Posted By TkTkorrovi
I don't know, maybe it's c++, like there are every kind of weird << and >> in cout... But at least it's not c. Following the typedef identifier should be a declaration, which mostly starts with a...
Forum: C++ Sep 5th, 2007
Replies: 10
Views: 1,365
Posted By TkTkorrovi
What is the end condition in your for statement? There, your i is 10, you iterate up to the value of some element of your array, which is bigger than the array size. You go beyond the limit of the...
Forum: C Sep 4th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
Maybe it's useful to explain, what are all these libraries in gtk, otherwise gtk seems like a bunch of strange libraries for unknown purpose...

The libraries which are actually part of the gtk...
Forum: C Sep 3rd, 2007
Replies: 4
Views: 5,788
Posted By TkTkorrovi
Thank you, good algorithm! The same using GTK, which shows that it's not very difficult to port simple graphics to another graphics library, i don't know though whether i guessed the colors right.
...
Forum: C Sep 1st, 2007
Replies: 15
Views: 2,136
Posted By TkTkorrovi
I don't know the borland c graphics api and don't recommend to use it, as it's just a commercial library, not standard, not open source and not cross-platform, not very good either. No one agrees...
Forum: C Aug 30th, 2007
Replies: 2
Views: 693
Posted By TkTkorrovi
There is xsane for windows http://www.xsane.org/xsane-win32.html free and open source, this can be used separately or together with gimp.
Forum: C Aug 29th, 2007
Replies: 17
Solved: Stupid Question
Views: 2,246
Posted By TkTkorrovi
I likely don't know, what you call the "modern linter", but does it really demand (void) before some function calls? When the function's return value was not used, this means that we didn't need it,...
Forum: C Aug 29th, 2007
Replies: 6
Code Snippet: GTK Asteroids
Views: 3,861
Posted By TkTkorrovi
I have a new version which uses cairo, the graphics is antialiased, and no graphics contexts nowhere... It would be up when i can put it up. I honestly don't see now anything to make better, if...
Forum: C Aug 29th, 2007
Replies: 17
Solved: Stupid Question
Views: 2,246
Posted By TkTkorrovi
lint is outdated, compilers have now good enough error checking, so that we don't need lint. gcc at least doesn't give such warning even when all warnings are on, i don't know any compiler which...
Forum: C Aug 28th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
You didn't seem to care so much about me, but ok, it's enough if you try to improve your appearance.
Forum: C Aug 28th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
You are free to think or guess what you want, but why do you write it here to everyone?
Forum: C Aug 28th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
> Ignoring technical details, that attitude makes me less inclined to listen to your advice.

> In the absence of technical arguments, I made that clear before too, your attitude toward...
Forum: C Aug 28th, 2007
Replies: 17
Solved: Stupid Question
Views: 2,246
Posted By TkTkorrovi
It's for some reasons better to compile and run the programs using command line, but if you want to use ide, then you may write something like this in the end:

printf ("== press enter ==\n");...
Forum: C Aug 28th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
Hamrick, you are totally wrong, and the only thing which i can do is to hope that you would once understand that. If you care to read, i substantiate what i say, and why i say that, so the way to...
Forum: C Aug 28th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
Look you guys really drive me nuts with your talk about other graphics libraries and gui toolkits. A good library for graphics is opengl, it's cross-platform, and it's the best when you want the most...
Forum: C Aug 26th, 2007
Replies: 6
Code Snippet: GTK Asteroids
Views: 3,861
Posted By TkTkorrovi
Who argues that the code in this game is not that good, it's right, it isn't. But then one may look at the debian source package, how much more horrible it was... What would help here is writing the...
Forum: C++ Aug 26th, 2007
Replies: 7
Views: 2,873
Posted By TkTkorrovi
I don't know what this "opening a folder" exactly supposed to mean, but one thing which is usually always available, no matter what desktop you use, is xterm. This opens xterm in the directory...
Forum: C Aug 26th, 2007
Replies: 11
Views: 6,924
Posted By TkTkorrovi
Well in the windows api there is a function CreateThread which is similar to pthreads function pthread_create, this is the msdn link http://msdn2.microsoft.com/en-us/library/ms682516.aspx Visual c...
Forum: C Aug 26th, 2007
Replies: 11
Views: 6,924
Posted By TkTkorrovi
Now the other thread of me was spawned, which says that fork () does not exactly create a copy of the code, but creates a new process which runs the same code in the memory. I tried to explain it in...
Forum: C Aug 26th, 2007
Replies: 11
Views: 6,924
Posted By TkTkorrovi
I wrote this example as a reply to one earlier post about interprocess communication (sockets there provide two-way communication between threads):

#include <stdio.h>
#include <sys/socket.h>
...
Forum: IT Professionals' Lounge Aug 25th, 2007
Replies: 17
Views: 8,437
Posted By TkTkorrovi
Disgusting, i'm for all programmers to get paid for what their work is worth, not playing with them by taking job from programmers somewhere and giving it to programmers somewhere else. And...
Forum: Geeks' Lounge Aug 25th, 2007
Replies: 14
Views: 1,169
Posted By TkTkorrovi
Well then you only believe the authorities -- if you think that the authorities are always right and authority is the only way to establish credibility, then the burden of proof lies on you.
Forum: C Aug 24th, 2007
Replies: 20
Views: 11,101
Posted By TkTkorrovi
You can also compile gtk programs both in linux and in windows cmd console, like this:

pkg-config gtk+-2.0 --cflags --libs | xargs gcc something.c -o something.exe

if you have xargs, which is...
Showing results 1 to 40 of 170

 


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

©2003 - 2009 DaniWeb® LLC