Hi everyone,
I'm building a web application that consists basically of loading large images from the PC,containing several zones of interest, and displaying them. My idea is to make an image viewer so that the user can drag and pan the image, zoom it in and out, and click on those zones of...
Hi Everyone
For purposes of getting information about system calls, I need to retrieve the information saved on the registers (eax, ebx, ...etc).
I found about this library: user.h. I included it in my code, but now I'm not sure how to retrieve the information I need.
I heard about invoking...
First of all, sorry for the delayed post and thanks a lot to SALEM for the reply.
OK, I did some investigation about ptrace.h and now I'm pretty sure thats the library I need to accomplish what I want.
Now, I found this code somewhere, seems to work fine, but when I compile it with GCC the...
Maybe this is pretty simple, perhaps Not. I wrote a simple program that runs any application in Linux, calling it right from the console.
Now, I need to keep track of every single system call used by the application that my program's running. I've investigated a little, but still dont know how...
Hey Guys!
I'm new to MySQL and Im setting a small database with some stored procedures and stuff.
So, I was wondering if there is any function to print text on console, just like the SQL Server PRINT function.
In addition, I need a way to check whether a SELECT query found data or not. My...
Well, Salem is totally right!!
It worked pretty much fine when I added the a2[length-2] = '\0'; to the code.
Thank you guys a lot for your help, now I've learned something new :)
Salem rlz!
I don't know if that solves the problem.
Where should I terminate the string with '\0'? During the loop or after it finishes?
Cause, after the loop ends, the new string already contains the garbage I'm trying to avoid. So, it would make no sense to add a '\0' in the last position of the...
Hi everyone
I'm writing a program in C that reads a text file and search for strings with doble quotes and the deletes the double qoutes.
For example: "string" => string
I wrote this function, but it seems to be working just with the first double quoted string it finds in the file.
For...
HI everyone
I'm a newbbie in assembly, but trying to learn. Does anyone know how do I print integer values on the screen? I'm working on Linux with the NASM compiler.
I know how to print strings, like the classic "hello world!", but it doesn't work for numbers.
I defined the variables this...
Oh well, thank you very much to cpjust. Your idea about atoi() and the zero result helped me a lot.
Now, I'm taking back the original issue of the thread. I'm posting the function I wrote to scan the file and then tokenize it. As you can see I read char by char and save them in an array to build...
Well, thank you very much for your help.
Before I started this thread I was working with the strotk() function, but as "cpjust" said, it didn't fullfill my requirements.
So what I did was to write a function that read the file char by char, using fgetc() function and inside a while loop and I...
Hi.
I'm writing a program that evaluates expressions, kind of what scanners and parsers do on compilers. Now I got this trouble:
I need to check for assignation and comparisson expressions, that is, I need to look in the text for symbols like: =, <, >, >=, <=, ==, etc.
The problem comes when I...
I made a linked list struct in C to contain two elements: a char* variable and a int variable. Wrote an INSERT function that created a Node with its char* data.
Now I'm trying to read an array and pass some of its information to a list already defined, but it just doesn't work out. If I try to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.