Search:

Type: Posts; User: omishompi

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,108

    Visual Studio 2005 macros

    Ok so I've made a simple macro in vs2005 to open a new .cpp file, no problems. What I need, though, is a desktop shortcut to do this. Does anyone know how to export a macro like this? Is it even...
  2. It would be great if I could use the container...

    It would be great if I could use the container you mention, but I have to do it by hand :(
  3. A little trouble implementing a blur filter

    I've got the concept of blurring an image down, but I have not a clue as to how to implement it. I know it starts with manipulation of a pixel and it's eight neighbors. I'm using a .pgm as an...
  4. Replies
    40
    Views
    6,360

    A great way to begin is to pick up a book or read...

    A great way to begin is to pick up a book or read online examples and tutorials. If your school has ANY programming courses definately take them. As LinuxCoder said it is an unlimited field for...
  5. Replies
    2
    Views
    1,143

    Formatting two dimensional arrarys

    Hey guys i'm having a problem with my formatting of 2d array output. I'm building this for a .pgm image--say the code is



    for(int row = 0; row < numrows; row++)
    for(int col = 0; col <...
  6. I found a better way..thanks for all the help...

    I found a better way..thanks for all the help everyone


    void DeleteNode(Node* head, string targettitle)
    {
    if(targettitle == head->data.title)
    {
    prev = head;
    head = head->next;
    }
  7. Magos: thanks for the example. ChaosEngine:...

    Magos: thanks for the example.

    ChaosEngine: I've definately found that there is an easier way to everything I had done previously. I'm currently in the highest level "programming" course at...
  8. Still learning

    I'm not familiar with the <list> library at all, but my professor insists that we do all this by hand....
  9. Problems with deleting a node in a singly linked list

    Hey guys I'm finally understanding linked lists to an extent, but I ran into this problem. Everything works fine until I go to delete a node from the list.


    #include <iostream> //for standard...
  10. oops

    void CreateList (nodeType* &head, ifstream& infile)
    {
    head = NULL;

    while(infile)
    {
    for(int i = 0; i < 10; i++)
    infile >> head -> name[i];
    }
    }
  11. Why won't this work? (Linked List and text file)

    I'm trying to get some data from a text file into a linked list using pointers so I can print the data out. Here's the code I have.



    #include <iostream>
    #include <fstream>
    #include <string>...
  12. Replies
    5
    Views
    1,222

    Thanks for the help. Those pointers are a little...

    Thanks for the help. Those pointers are a little more advanced than I. Is there another way?
  13. Replies
    5
    Views
    1,222

    Printing an unsorted list

    I've run into a problem trying to print this list. I'm getting the list from a text file and loading it item by item like this



    #include <fstream>

    using namespace std;

    const int...
  14. Replies
    7
    Views
    1,643

    7stud, thanks for the help. How would I go about...

    7stud, thanks for the help. How would I go about adding them up though? I can't use saws.totalPrice() + hammers.totalPrice() + nails.totalPrice() right? Please enlighten a novice.
  15. Replies
    7
    Views
    1,643

    Thanks for all the help. Is there any way I...

    Thanks for all the help.

    Is there any way I could go about doing a total sum of the inventory of these items simply? For example, if I had a function to find the dollar value of each item and...
  16. Replies
    7
    Views
    1,643

    Parameterized constructors

    Ok guys, need a little help. I'm buidling 3 objects below and I need to let the user initialize them to certain values. How can I keep the quantity from erasing everytime without building separate...
  17. Replies
    10
    Views
    1,126

    So Enahs how could you pick the different parts...

    So Enahs how could you pick the different parts out?

    Thanks everyone for all the help
  18. Replies
    6
    Views
    1,490

    A good beginner's example to use when trying to...

    A good beginner's example to use when trying to get info from the text file is the getline() or simply the infile commands.

    Since you know how to open the text file
    e.g ifstream infile;...
  19. Replies
    10
    Views
    1,126

    Could it be more easily done with division and...

    Could it be more easily done with division and modulus?
  20. Replies
    10
    Views
    1,126

    Splitting out large numbers

    So I ran into a problem the other day and need to separate out a large number into small number groups for example:

    945689234989910

    needs to be split into

    9456|8923|498|9910

    and each...
Results 1 to 20 of 20