Actually the fasm people are currently creating their own IDE.
Take a look. One of the better looking IDE's ive seen.
http://fresh.flatassembler.net/pics/fresh1ss.gif
Type: Posts; User: loko
Actually the fasm people are currently creating their own IDE.
Take a look. One of the better looking IDE's ive seen.
http://fresh.flatassembler.net/pics/fresh1ss.gif
It returns NULL and even if it returns NULL it will still try to open the file that doesnt exist.
The main() should be..
int main(void){
FILE *filename;/*for getfile return value*/
...
Didnt work. Okay be back ill try to work it out myself. Ill post here wht happens. Thnks for the helps :) .
Yes. It shows when compiling. I tried making errors in rc and it detects it. So its being compiled. And also the compiled exe has the icon set. Just wont show when run.
It didnt work.
heres my rc
101 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "resfiles\\fide.ico"
my resource.h
#define IDI_FIDE_ICON 101
This is the first time im using DevCPP i used to use VC++6. Now im having trouble setting the icon of my app. The exe have the icon correctly set but the titlebar doesnt have it set when i open it. I...
Use CreateWindowEx and WS_EX_CLIENTEDGE as its first parameter.
Hi Pre? You mean create your own header file?
printf is good for testing things in your code. Correct, but thats if you put it in the right place. If you look at quzah's code its a small peice of code and its obvious that itll work. Your printf...
Thats the same thing i was telling him in the other threads he made. He thinks that becoz something isnt printing correctly that something is wrong. Well he was printing somthing that is not even...
Must be my english. FYI english is not my first language so it must be it. :)
What im talking about is
fwrite(mystring,sizeof(TCHAR),strlength,fp);
sizeof(TCHAR) would be write 1 byte(depends on the system) for evry element if UNICODE is not defined
and 2 bytes or...
What about go to the tut section of the site ??
PersonType:personType()
Have you tried quzah's ??
for( temp = first node; temp; temp = temp2 )
{
temp2 = temp->next;
temp->next = newlist head;
newlist head = temp;
}
It will be the same for both char and widechars. What matters is the define UNICODE.
The only things you should worry about is the size of your variable getting bigger. Wrapping all your string...
if you have define UNICODE then it would write unicode if not then it wont. You should rememeber that fwrite has a paramater for the size of input your going to write. It will write the sizeof(...
Indent, use brackets, use newline properly. Your code though very short is very hard to read.
Dont put couple of newlines for evry staement it makes your coding longer. and also indent it...
That would definetly skip if you put that inside the if statement. I wouldnt explain why i know you know already(i hope).
But if you put the total statement in your original code it would have...
Which original code??
this one?
while (start != NULL)
{
printf("\n%f %f\n", start->numberone, start->numbertwo);
printf("%s %.2f %.2f %s", "next element is -+> ",...
I hope this would be the solution
void printList(charNode *start)
{
float total;
float x1, x2;
charNode *fElement = start;
while (start != NULL )
Where did you get the final result of 183? Just wondering. If you have 174 before adding the last element. Can you explain how it itll get 183 from statring here(174)??
Is this part importan to you?
total += sqrt( ( pow( (start->numberone - start->next->numberone), 2) + pow( (start->numbertwo - start->next->numbertwo), 2) ));
what about put that out of...
That is becoz
printf("\n%s%f%s%f ", "X is ", start->numberone, " Y is ", start->numbertwo );
is inside
if (start->next != NULL)
Ofcourse you would get a segmentation Fault. Your trying to access memory space that doesnt exist.
while (start != NULL )
{
printf("\n%f %f\n", start->numberone, start->numbertwo);
...