Search:

Type: Posts; User: Nancy Franklin

Search: Search took 0.00 seconds.

  1. Thank you, Salem! That worked. Turned out, my...

    Thank you, Salem! That worked. Turned out, my "image viewer" is called 'Eye of Gnome', and its manual says to call it 'eog' in the terminal. So this works:
    string runit = "eog infinitiesRed.tga";...
  2. Guys, I still can't figure out a way for my C++...

    Guys, I still can't figure out a way for my C++ file to open Ubuntu's "Image Viewer" and display the newly-generated .tga fractal image in it. Can someone help me do that, please?

    (nothing from...
  3. Thanks, brewbuck, but I'm a bit reluctant to use...

    Thanks, brewbuck, but I'm a bit reluctant to use a new format. My teacher gave permission to copy/use that file-writing method, it works fine, but I don't fully understand how it works, so I wouldn't...
  4. Ok, I got the program working great. It generates...

    Ok, I got the program working great. It generates the fractal (with color now!), and saves it as a Targa file named "sanMarco.tga". Now, how can I make it automatically open after it is generated? My...
  5. Thank you, Salem! Just double-clicking on those...

    Thank you, Salem! Just double-clicking on those .tga files worked! Now I just need to figure out how to tweak it into displaying color... Is there a graphics program to add color to .tga files? Is...
  6. Hmm. Thank you, that fixed all the compiling...

    Hmm. Thank you, that fixed all the compiling errors on the last two, "cactus" and "sanMarco", but when using g++ sanMarco.cpp gives no errors, but saying "./a.out" does nothing, just gives me another...
  7. Running/changing a very old fractal program

    Hi- I'm trying to run some C++ code I found here that's so old, it uses <conio.h> and <graphics.h>, which aren't available. I'm trying to upgrade its code by removing the obsolete sections so that it...
  8. Thanks for all your help, guys. I figured out the...

    Thanks for all your help, guys. I figured out the rest, and it's working. :)
  9. Would this work, or do I have it backwards? ...

    Would this work, or do I have it backwards?


    STRING temp2=" ."

    for(i = 0; i < count; i++){
    for(j = i; j < count; j++){
    if(a[j]>a[j-1]){

    temp = count[i];
  10. GLike this? for(i = 0; i < count; i++){ ...

    GLike this?

    for(i = 0; i < count; i++){
    for(j = i; j < count; j++){
    if(a[j]>a[j-1]){

    temp = count[i];
    count[i] = count[j];
    count [j] =...
  11. Um, I don't have a compiler or access to one for...

    Um, I don't have a compiler or access to one for 5 hours, but is this what you mean:


    for(i = 0; i < count; i++){
    for(j = i; j < count; j++){
    if(a[j]>a[j-1]){
    ...
  12. Sorry that wasn't clear, Subsonic. Each string...

    Sorry that wasn't clear, Subsonic. Each string entered must be sorted according to how many times it has appeared. If 15 different words have been entered in an input stream of 30 words, there should...
  13. Ok, so that section should be: for(i=0;...

    Ok, so that section should be:


    for(i=0; i<counter;i++){ //check if s is already there
    k=strcmp(s,word[i]); //compare the strings
    if(k==0){ // s is already...
  14. Yes, it was complaining, but I didn't know what...

    Yes, it was complaining, but I didn't know what the error message meant. I'm a n00b, and the VMware terminal's error messages are confusing. Messing with it sometimes stored big negative numbers in...
  15. Please help: counting string occurances using scanf and arrays

    Goal: count the number of unique strings from the input stream. The typedef, STRING, scanf, and %s are required. After that, sort each unique string according to how many times its appeared. The...
Results 1 to 15 of 15