Search:

Type: Posts; User: kiros88

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,140

    Sleeping threads

    I tried looking this up but having a hard time cuz all i get are ppl using sleep()

    is there a function that would be able to put a thread to sleep and only get waken up when the main process wants...
  2. Replies
    4
    Views
    6,550

    Well I cant use a debugger that i know of cuz im...

    Well I cant use a debugger that i know of cuz im using jni functions and although this isnt a jni function where im getting the problem the main code is base in java and when i call the jni thats...
  3. Replies
    4
    Views
    6,550

    using fprintf crashed my program

    Hi so Im wondering when would there be a case when fprintf would crash a program. I didn't create the program but I'm trying to debug it. I've been able to use fprintf on other files in the program,...
  4. Thread: scaning a word

    by kiros88
    Replies
    3
    Views
    982

    Well i was asking how do i check like what would...

    Well i was asking how do i check like what would the algorithm be in pesudo code to check each letter and see if its a capital letter
  5. Thread: scaning a word

    by kiros88
    Replies
    3
    Views
    982

    scaning a word

    Hi i was wondering what is the best and fastest method to scan a word like

    "dooDooo"

    so i guess a char* would point to that word and i want to scan the whole word but what im looking for are...
  6. Replies
    6
    Views
    1,360

    Yea i actually wanted to know what #pragma once...

    Yea i actually wanted to know what #pragma once does cuz i tried googling it up and didnt find anything that could explain it to me i thought that was a good method but i used it on an itnerview and...
  7. Replies
    6
    Views
    1,360

    Questions about a mass amount of headers

    Hi i had a theory question i guess? if its called that I wanted to know what do u do when theres a bunch of class files and eventually u accidentally rewrite a header file for one class thats already...
  8. Replies
    11
    Views
    1,397

    Interview Question

    Hi I was wondering if someone could help me with this I always get this question alot in interviews and was hoping someone could help with an answers.

    if i had 2 strings str1"abcde" and str2 "bcd"...
  9. Replies
    1
    Views
    7,351

    no such file sys/shm.h

    So i looked this up and cant really find an answer probably cuz most ppl dont deal with this but im using cygwin and im compiling with
    #include <sys/shm.h>
    but it cant find the file so i obviously...
  10. Replies
    2
    Views
    2,193

    convert long to string

    Is there an easy way or function to convert a long into a string like in C with itoa i mean even though that doesnt do it compeltely is there a simple way?
  11. Thread: static library

    by kiros88
    Replies
    2
    Views
    914

    okay yea just wanted to make sure i wasn't...

    okay yea just wanted to make sure i wasn't forgetting something with my bug but i think I have an idea where to look
  12. Thread: static library

    by kiros88
    Replies
    2
    Views
    914

    static library

    I just had a quick question to confirm. If i had created a static library one that ends with .a then when i load the library in the compiler syntax with -g mylib.a with my main code shouldn't the...
  13. Thread: jni C++

    by kiros88
    Replies
    6
    Views
    1,691

    Does anyone know a basic code sample of a .cpp...

    Does anyone know a basic code sample of a .cpp being called by java i just want to see an example cuz this is frustrating ive tried extern it and its still not working its complaing bout some of the...
  14. Thread: jni C++

    by kiros88
    Replies
    6
    Views
    1,691

    iono basically that cannot convert char* to...

    iono basically that cannot convert char* to *jstring

    do u think if i just have a .cpp program but extern everything into C that the program could compile
  15. Thread: jni C++

    by kiros88
    Replies
    6
    Views
    1,691

    jni C++

    so hi basically really confused and new to jni. um basically i have in C

    jstring str;
    char * str1 = getStringhere(); // this just returns a char* of a string in a another ...
  16. Thread: C++ and C

    by kiros88
    Replies
    4
    Views
    963

    Yea basically i was wondering about that because...

    Yea basically i was wondering about that because It worked completely fine doing it in C with the.h just having one line
    char* getStringhere()
    but i was wondering since i changed the file into a...
  17. Thread: C++ and C

    by kiros88
    Replies
    4
    Views
    963

    C++ and C

    I was wondering can i have a .cpp file like



    #include "gsh.h"
    #include <string.h>

    char* getStringhere(){
    char * str1 = "here I finished libMIDS.a";
    return str1;
  18. Thread: make file

    by kiros88
    Replies
    2
    Views
    1,199

    make file

    so im not sure if its here or C forum for this but i basically need help with make files its pretty simple im just having a hard time looking i tup online

    basically i have a directory
    /base
    ...
  19. Thread: Rdtsc

    by kiros88
    Replies
    6
    Views
    15,017

    Im sorry i now this is stupid and i should have...

    Im sorry i now this is stupid and i should have mentioned this earlier but i need it for a andriod function so im calling a native call in C then im going to try and use RDTSC but i tried the BMJ one...
  20. Thread: Rdtsc

    by kiros88
    Replies
    6
    Views
    15,017

    Rdtsc

    Hi I was wondering I've been looking through the web trying to find out if the C library or a way to use RDTSC and havent been able to get a good understanding or a good sample.. Im really just...
  21. Replies
    0
    Views
    3,579

    execvp: mkconfig: Permission denied

    Hi basically i was hoping someoen can see what i cant I know this error is basically something is space weird but i havent touched the makefile and it ran b4 so iono what could be different i do know...
  22. Replies
    1
    Views
    875

    linking problem with windows

    Hi so im having a problem figuring out how to link things or find paths to certain files when im compiling. basically im trying to do a compile with jni.h so right now i already included the paths in...
  23. Replies
    2
    Views
    7,056

    No that part is fine because the env is a struct...

    No that part is fine because the env is a struct i think in jni.h and most of the examples using env function calls use the ->. The code i posted is C i already i java code that should be right but...
  24. Replies
    2
    Views
    7,056

    array of strings in JNI

    I know this is a JAVA thing but Im having issues with the C portion of the code. I know there isnt a jStringarray type of or anything but I was trying to get an array of strings to pass into the C...
  25. whats the difference between a DLL and class file in C++

    Hi Im trying to make a DLL but everytime Im looking for tutorials its kinda looks like im making a class. Because mostly I get a header file then a cpp file and its suppose to make a dll file? I'm...
Results 1 to 25 of 192
Page 1 of 8 1 2 3 4