Search:

Type: Posts; User: jsmidt; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    1,006

    Re: How do I merge two source code files?

    Thanks. meld looks like it might do the job.
  2. Replies
    3
    Views
    1,006

    How do I merge two source code files?

    Hey everyone,

    I have two files fileA and fileB that depend from common ancestor file. I do not have access to that common ancestor file, just these two children. (So I can't use diff3) How...
  3. Re: Sorting lists in python where 10 comes after 9.

    Thanks a lot guys.
  4. Sorting lists in python where 10 comes after 9.

    Hey everyone. I have a list in python like:


    ['file-1', 'file-9', 'file-2', 'file-10']

    When I try and sort this list I get the sorting that you would get if you typed ls in a unix directory:...
  5. Replies
    2
    Views
    739

    [ubuntu] Can I latex a file encrypted with vim?

    I would like to make an encrypted file that I can latex. vim has a nice blowfish encryption built in that I would like to use to encrypt the file. However if I run latex on the file it fails...
  6. Replies
    12
    Views
    33,358

    Re: How to read in CSV with C++?

    Okay so there is no way to access without iterators? For example, what if my data looked like:


    1.0,line1,2.0,3.0
    2.0,line2,4.0,6.0
    4.0,line3,8.0,12.0


    Where the second element in each...
  7. Replies
    12
    Views
    33,358

    Re: How to read in CSV with C++?

    dwhitney67. One last question. Is there a way to print the second element of info? There does not seem to be info.at() available for the Tokenizer class nor does info[1] work as brackets [] seem...
  8. Replies
    12
    Views
    33,358

    Re: How to read in CSV with C++?

    Nevermind. Figured it out. Can us the .at() function.
  9. Replies
    12
    Views
    33,358

    Re: How to read in CSV with C++?

    So this last part prints to the screen (thanks), but how do you load the 3 columns into 3 separate double arrays? Using iterators instead of something like (int i = 0; i < 3; i++) is confusing me...
  10. Replies
    12
    Views
    33,358

    Re: How to read in CSV with C++?

    Thank you everyone!
  11. Replies
    12
    Views
    33,358

    How to read in CSV with C++?

    Hey everyone,

    If I have a txt file with this as data: (file.txt)


    1.0 2.0 4.0
    2.0 4.0 8.0
    3.0 6.0 12.0

    and want to load the three double arrays that I can then print. I can read in this...
  12. Replies
    2
    Views
    912

    Re: Adding uBlas vector to class in C++.

    Thanks a lot!
  13. Replies
    2
    Views
    912

    Adding uBlas vector to class in C++.

    Hey everyone. I would like to make a class in C++ that has a uBlas vector 'price' of length 100 each time the class is created. (I currently always want the length to be 100 and see...
  14. Replies
    4
    Views
    861

    Re: C++ help using valarray and struct

    Npl, thanks, those were the two issues! It compiles now.
  15. Replies
    4
    Views
    861

    Re: C++ help using valarray and struct

    main() exists and is just more complicated. But I believe

    g++ -c mystruct.cpp

    should compile independant of main() and is linked later so what is going on with main() is a separate issue. Am...
  16. Replies
    4
    Views
    861

    C++ help using valarray and struct

    Hey everyone. I am new to C++ and would like to create a struct containing a name and a valarray with 10 elements of double with a separate function that initializes those elements to 5.0. (The...
  17. [ubuntu] Allocate Unallocated Space Without Gparted?

    I have 500 MB of unallocated space on my hard drive. I would like to create a new partition with ext 3. Unfortunately, gparted gives an error so I am wondering if there is a way to do this without...
  18. Re: Script To Rename Multiple Files In A Directory

    Thank you all. Those scripts worked!
  19. Script To Rename Multiple Files In A Directory

    Hey, I don't know if this is the best forum but here it goes:

    I have a directory with many files called:

    ch1_ch12_001.txt
    ch1_ch12_002.txt
    ch1_ch12_003.txt
    etc...

    I want to change the...
  20. [ubuntu] Re: No Sound For MacPro4,1 running Ubuntu 10.04 LTS

    linuxopjemac,

    Yes, I unmuted everything with alsamixer and turned the volume as high as possible and I get nothing.
  21. [ubuntu] No Sound For MacPro4,1 running Ubuntu 10.04 LTS

    I am running Ubuntu 10.04 on a MacPro4,1. I don't get any sound. Anybody have any ideas or things I can test? Thanks.
  22. Replies
    1
    Views
    1,550

    Looping over files in Fortran?

    Hey, i've learned a bunch of for fortran but have yet to read how to loop over files like this:

    I have 100 files called myfile_1_1.txt, myfile_1_2.txt,...,myfile_10_10.txt with two columns of...
  23. Replies
    26
    Views
    1,113

    Re: Seriously thinking of going back to Jaunty

    You might if you spent all your time on the "breakfast lovers" forums.

    These are the Ubuntu forums and the very place it is normal to discuss what's on your mind concerning Ubuntu.
  24. Replies
    91
    Views
    9,463

    Re: Fedora 12 released

    I installed the 32 bit version and so far it is running very well. I see little improvements all over.

    Even the non-interested guy who is infatuated with this thread may enjoy it. (If he cares to...
  25. Replies
    4
    Views
    2,649

    Re: How do you force setup.py to use X compiler?

    Unfortunately I still get this: "don't know how to compile C/C++ code on platform 'posix' with 'icc' compiler". But thanks.
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4