Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~10.7K People Reached
Favorite Tags
Member Avatar for yuri1969

Howdy, for instance this JSTL snippet produces following result. <a href="<c:url value="Profile"> <c:param name="username" value="${requestScope.username}"/> <c:param name="logout" value="true"/> </c:url>"> Logout </a> Result: <a href="Messages?username=abc&logout=true">Logout</a> Ofc this thing works. However, validating against XHTML 1.0 Strict ends up with: > cannot generate system identifier for general entity "logout" href="Messages?username=abc&logout=true">Logout</a> Apparently it doesn't …

Member Avatar for yuri1969
0
333
Member Avatar for yuri1969

Hi, I'm fighting with [B]make[/B] for hours and I rly don't know where is my problem. I need to have a static lib libxml.a and an application (make.c) which uses it. I tried to compile it under GCC 4.4.5 and 4.5.0 and the compilation run fine. But under GCC 4.3.2 …

Member Avatar for Martin B
0
2K
Member Avatar for yuri1969

Hi, I have prolly very noobish question. I compile my program separately with GCC by: [CODE]gcc -O2 -Wall -c foo.c[/CODE] I just wat to ask if there is a chance to specify the output destination of [B]foo.o[/B] file. Now the output is forwarded to the makefile dir. Thank you for …

Member Avatar for yuri1969
0
2K
Member Avatar for yuri1969

Howdy, I need to print given path to a file. The problem is that my app is platform independent -> I can get a Win32 style path: [CODE]C:\foo\bar.dat[/CODE]. The problem is with printing single backslashes '' -> single char converts to "\char" style. I need to convert it somehow to …

Member Avatar for yuri1969
0
155
Member Avatar for sing1006

i have a problem here. [CODE][/CODE] #include<stdio.h> int main (){ int counter; int x; int y; int product; counter=1; x=1; y=1; product=1; while (counter<=5){ printf("%d>%d\n",x,y); x=x+1; y=y+2; counter=counter+1; product=product*y; } printf("Product>%d",product); return 0; } well,the product should be 945.but what have printf out is 10395?what is the provlem inside the …

Member Avatar for sing1006
0
116
Member Avatar for yuri1969

Hi, i have question about accept call interrupting. As you can see I have a loop which is controlled by boolean [B]not_ended[/B]. I set this var to 0 (false) in a separate function. I would like to know how should I [U]manage to interrupt this accept loop properly[/U]. When I …

Member Avatar for yuri1969
0
4K
Member Avatar for yuri1969

Hi, I would like to make an threaded app which would use pthreads. I made a linked list and I put references to running threads here. I know that operations of adding a new thread reference to the list and removing a thread reference from the list after the thread …

Member Avatar for yuri1969
0
171
Member Avatar for yuri1969

Hi, I'm a BSD Socket beginner and I would like to make a small networking program written in C. I've read many instructional articles and I haven't found a example how to send/receive a non-char - string sending everywhere. I mean, I thought about sending some various structures as "frames". …

Member Avatar for yuri1969
0
172
Member Avatar for yuri1969

Hi, I have been struggling with Valgrind's error in this function: [CODE]void parse_date(char *date_out) { char *date_in = __DATE__; int month = 0, day = 0; char *str_month = (char*) malloc(sizeof(char) * 4); char *str_day = (char*) malloc(sizeof(char) * 3); /* check mallocs */ if ((str_day == NULL) || (str_month …

Member Avatar for yuri1969
0
933
Member Avatar for ITmajor

hi everybody,,, please i need your help in my project if you don't mind my project is to create an array with size of 10 that allow you to inter 10 students, their id number and thier marks and show the average of the marks as a,b,c,d,and f thats it,,, …

Member Avatar for peter_budo
-2
134
Member Avatar for yuri1969

My func looks like: [CODE]int pop(node **hd, char **new_element) { node *dummy; int i = 0; if (empty(*hd) == 1) { printf("Stack is empty"); return -1; } else { (*new_element)[i] = (*hd)->element[i]; // problem is here ;) dummy = *hd; *hd = (*hd)->next; free(dummy); }[/CODE] and I call it via: …

Member Avatar for yuri1969
0
124