Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. klose86

    Interactive Images/Maps?

    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...
  2. klose86

    /sys/user.h Problem

    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...
  3. klose86

    About System Calls and Programs

    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...
  4. klose86

    About System Calls and Programs

    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...
  5. klose86

    Newbie Questions

    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...
  6. klose86

    Deleting double quotes

    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!
  7. klose86

    Deleting double quotes

    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...
  8. klose86

    Deleting double quotes

    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...
  9. klose86

    Printing Integers in NASM

    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...
  10. klose86

    Tokenize strings help

    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...
  11. klose86

    Tokenize strings help

    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...
  12. klose86

    Tokenize strings help

    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...
  13. klose86

    Problem with linked list

    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...

Part and Inventory Search

Back
Top