Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
7
Posts with Downvotes
2
Downvoting Members
5
1 Commented Post
0 Endorsements
Ranked #72.7K
~338 People Reached
Favorite Forums
Favorite Tags
c x 1
c++ x 1
Member Avatar for rafikul

[code=c] #include<stdio.h> #include<conio.h> void main() { int a[] = {10,20,30,40,50},j,*p; clrscr(); for(j=0;j<5;j++) { printf("%d",*a); a++;/*here compiler error "lvalue required"*/ } p=a; for(j=0;j<5;j++) { printf("%d",*p); p++; } getch(); } [/code] i used turbo c++ compiler.and save this programme as abc.c why this type of errors occur?

Member Avatar for peter_budo
0
177
Member Avatar for ironstove

Hello, I am currently trying to implement A* search, and I am pushing all of the costs to travel from one node to the next via priority queue. The only problem I am running into is that when I use the pop() feature, I am getting back the highest node …

Member Avatar for JamesMatthew
0
161