Forum: DaniWeb Community Feedback Sep 13th, 2007 |
| Replies: 5 Views: 927 Re: I was banned from DaniWeb IRC 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: 927 I was banned from DaniWeb IRC 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: 1,272 Re: graphic problem in c 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: 3,038 Re: pause until any key pressed in linux 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: 3,038 Re: pause until any key pressed in linux 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: 3,038 Re: pause until any key pressed in linux 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: 3,038 Re: pause until any key pressed in linux 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: 3,038 Re: pause until any key pressed in linux 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: 3,038 |
Forum: C Sep 12th, 2007 |
| Replies: 16 Views: 3,038 Re: pause until any key pressed in linux > 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: 25 Views: 35,635 Re: Download Turbo C 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: 571 Re: Need help with Data Structure and Algorithms 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: 3,038 Re: pause until any key pressed in linux 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: 456 Re: design an editor 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: 8 Views: 677 Re: my array is not sorting 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: 427 Re: array, unexpected output 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: 717 Re: debugging shared object 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: 459 Re: what does this line say? 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: 8 Views: 677 Re: my array is not sorting 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: 4,805 Re: Installing GTK and MinGW in Windows 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 1st, 2007 |
| Replies: 15 Views: 1,272 Re: graphic problem in c 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: 390 Re: Scanning (with TWAIN) 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 Views: 1,317 Re: Stupid Question 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: 17 Views: 1,317 Re: Stupid Question 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: 4,805 |
Forum: C Aug 28th, 2007 |
| Replies: 20 Views: 4,805 |
Forum: C Aug 28th, 2007 |
| Replies: 20 Views: 4,805 Re: Installing GTK and MinGW in Windows > 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 alternatives... |
Forum: C Aug 28th, 2007 |
| Replies: 17 Views: 1,317 Re: Stupid Question 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... |
Forum: C Aug 28th, 2007 |
| Replies: 20 Views: 4,805 Re: Installing GTK and MinGW in Windows 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: 4,805 Re: Installing GTK and MinGW in Windows 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: 7 Views: 1,292 |
Forum: C Aug 26th, 2007 |
| Replies: 11 Views: 1,812 Re: Threading in C 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: 1,812 Re: Threading in C 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: 1,812 Re: Threading in C 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>
int sv... |
Forum: IT Professionals' Lounge Aug 25th, 2007 |
| Replies: 16 Views: 5,725 Re: Outsourcing to Ukraine 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: 744 Re: uknown sender 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: 4,805 Re: Installing GTK and MinGW in Windows 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 in... |
Forum: C Aug 24th, 2007 |
| Replies: 7 Views: 681 |
Forum: C Aug 24th, 2007 |
| Replies: 3 Views: 386 Re: c There are no square or cube functions or operators in standard c. There are though functions for logarithms and such. It also depends what precision the result should be, if it has to be a very high... |
Forum: C Aug 24th, 2007 |
| Replies: 3 Views: 733 Re: Dynamic Binding In C There are function pointers in c, using which you can create structures which a similar to objects in c++, but not all concepts of c++ apply to c. |