tolower() and toupper() ignores the case as far as I know.
Creating username and passwd: Which plattform, *nix or Windows ? In Unix you could prepare a string and use system() for it, which'd be...
Type: Posts; User: demonus
tolower() and toupper() ignores the case as far as I know.
Creating username and passwd: Which plattform, *nix or Windows ? In Unix you could prepare a string and use system() for it, which'd be...
hm. works, thanks a lot. I just wonder *why* it works because of changing one integer ... ( and the '\0' stuff I forgot :) )
Hi again.
I want to seperate a QUERY_STRING of my Apache ( so CGI ) with C. It is in the form "arch=foo&status=bar", and I need "foo" in char arch[] and "bar" in char status[] to redirect users to...
Ok, nice thx, but thats not the problem. the problem is that
char tmpchar[255];
char ws2_tmpchar[255];
cannot be used in
strcat(ws2_tmpchar[i],tmpchar[i]);
Hi! This is my code:
...
char tmpchar[255];
...
printf("Enter the filename: ");
fgets(tmpchar,MAXFILES,stdin);
strcpy(tmpchar,ws2_());
>Post your latest code.
>
Not neccessary anymore, I already got it last night!
>>I see that it "takes some time"
>We're not here at your demand, people will answer when they're good'n'ready....
ok, I have some errors in it, but it is NO segfaulting function anymore :) ... . Arrays:
char array[N] => Range: 0 to N-1
However, if I enter a value different then a1, the function returns zero...
OK... .
Ähm, the allocation is not neccessary , ... of course you are right, but the example you see is "over-tested" :) ! I used arrays first,... .
Secondly, gdb tells me errors in strncmp,...
I see that it "takes some time", maybe the local time of the local heroes like salem is not very familiar with Europe , right ? :)
Could you please send me a reply to
[email protected]
...
MacOS uses COLONS as dir-seperations ? OH MY GOD ... .
For an operating system is basicly written out of BSD (UNIX!!),
it is a strange thing that MacOS uses colons ... .
But I am not a friend of...
The trick I use with chars and ints is always:
scanf("%s[^\n]",chararray);
if((integer=atoi(chararray)) == 0)
{
printf("user entered a string or 0\n");
}
This is a "string2Hz" algorythm ; It is used to return the Hz of a
string is entered. This is the syntax:
[key][octave](optional [in/decrement (+/-)])
So for example:
C1
a1
a1+
c1+
These...
Of Course I can google some tuts/docs, but maybe you've got interesting URLs I don't know about yet, or did you ever followed EVERY link of a search relsult (If this result offers 13 pages AT GOOGLE...
Hi!
I am looking for a good tutorial / documentation about Multi-Threading, Gtk+, Alsa/OSS-Lite/Jack and the Mesa GL-libs !
If anybody could help me ? :)
define MAX 10
struct data {
char *pointerarray[MAX][MAX];
}mystruct;
char *tmpchar, *tmpchar2;
int i,j;
main()
{
printf("Enter first field: ");
scanf("%d",i);
declaring tmpchar as an array brings the same error:
Segfault !
>> arraypointer[0][0][0]= "Hello"
>> arraypointer[1][1][1] = "my friends"
>So what is in arraypointer[0][0][1] or...
the variable HAS to be a arraypointer because I need a 3 dimensional variable where I can put MORE THAN ONE character per address into it:
arraypointer[0][0][0]= "Hello"
arraypointer[1][1][1] =...
Hello again!
I make a little Segfault while taking acces to to a
pointer array ... . This is my declaration:
struct data {
char *pointerarray[10][10][10];
unistd.h : UNIX(R)
dir.h Micro$oft DOS
thx !!! The question was 'is there a function' ;-) !! So I can't write (silly example:)
FILE *filer;
char array[100];
disasm(array, sizeof(array),filer);
or something like it ... THX...
i know that i have to do this first! I am doing this on the other hand...
My question is how to disasm in C , not what i have to need to know...
but thank you for your reply! I want to know if...
hi again! I've got a little question about disassembly ! How do I write a C programm that can disassemble another programm ?
I think I am very stupid! This is another idea, too! OF COURSE! I could eat my ..........! But OK, this is a better way, but way does strcmp crash at this time! "NULL" means nothing, why can't I do this in...
Hi again! My lovely Compiler, lcc-win32, do not accept this code! Or lets say it this way: It can be compiled and linked, but if I run the code it crashes! WHY?
int main(int argc, char...
HI again! I tried some different things, but I don't get it work! Realy un-developmentable stuff, I think! ähem, can somebody post me WHY the linker says the two errors? Maybe I will get the answer...