Search:

Type: Posts; User: jeremy duncan

Page 1 of 14 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    666

    i saw that but i wasn't sure. ty.

    i saw that but i wasn't sure. ty.
  2. Replies
    12
    Views
    666

    here's how i delete the vector in the code in...

    here's how i delete the vector in the code in post 7. does this look right, the last 2 lines in main:


    #include <iostream>
    #include <vector>
    #include <fstream>
    #include <string>
    using...
  3. Replies
    12
    Views
    666

    thats beautiful. ty!

    thats beautiful. ty!
  4. Replies
    12
    Views
    666

    write the j address in the file, this sends a...

    write the j address in the file, this sends a error in the ReadTheTest function, then get a count of how many addresses are bad. should just be one. that function then sends a blip somewhere showing...
  5. Replies
    12
    Views
    666

    this is what i came up with: #include...

    this is what i came up with:


    #include <iostream>
    #include <vector>
    #include <fstream>
    #include <string>
    using namespace std;

    void ReadTheTest()
  6. Replies
    12
    Views
    666

    apparently: "The size of an array is static in...

    apparently:

    "The size of an array is static in C++. You cannot dynamically resize it. That's what std::vector is for:"

    and

    "With STL containers, the value type is required to be assignable....
  7. Replies
    12
    Views
    666

    i see here is something like what i want but its...

    i see here is something like what i want but its not possible using vector push back.

    c++ - Why can&#39;t I push_back to a vector of const elements? - Stack Overflow

    is there some other way to...
  8. Replies
    12
    Views
    666

    make a vector constant?

    #include <iostream>
    #include <vector>
    using namespace std;

    void test(vector <int*> v)
    {
    for (int i = 0; i < v.size(); i++)
    {
    if (v[0] == v[i])
    {
  9. Replies
    1
    Views
    920

    redid the names on my github

    laserlight said they werent right so i redid them it took a few days, my other thread was locked.

    GitHub - learningToProgramGames/flow: removing the jerkiness

    im not making a hacking program,...
  10. Replies
    14
    Views
    2,113

    i updated the readme, to make it easier to...

    i updated the readme, to make it easier to understand what i was going for with the program.

    the names in the code are as good as i can make them, its not technically based its what i think they...
  11. Replies
    14
    Views
    2,113

    fwiw i did a few bug fixes to the code, its all...

    fwiw i did a few bug fixes to the code, its all done now though but i wanted to say i updated it if you dl the old version and found the bugs. so from here on if you look at it and find bugs or...
  12. Replies
    14
    Views
    2,113

    i finished making what i was making and felt bad...

    i finished making what i was making and felt bad you didnt know what i was trying to code so i decided to share my github where my project is t and you can read all the code there to see what i did....
  13. Replies
    14
    Views
    2,113

    im not familiar with the xy problem, but my...

    im not familiar with the xy problem, but my problem was i had a switch condition i needed to clean up.

    i have since finished my initial examination of my code, and will post if here for you and...
  14. Replies
    14
    Views
    2,113

    here's my finished code. i need to cross check it...

    here's my finished code. i need to cross check it before putting the if statements in the switch statement into their classes to clean up the switch statement.

    i have to read the code now and...
  15. Replies
    14
    Views
    2,113

    heres my code so far, notice the comments in the...

    heres my code so far, notice the comments in the switch case is the code is still need to make.


    #include <iostream>
    #include "one.h"
    #include "two.h"
    #include "three.h"
    #include "four.h"...
  16. Replies
    14
    Views
    2,113

    help me simplify my switch statement

    i think i can make it cleaner but i dont know how;


    void test(int &value_1, int &value_2, int x)
    {
    switch(x)
    {


    case 0 :
  17. for a idea like heap sort here is the way it...

    for a idea like heap sort here is the way it should work, but it may not be heap sort because of the logic.

    - node 1 = all the possible words = (lion, and, mouse) = lines 2, 4, 6
    - node 2 = less...
  18. i made some code that does what i wanted and will...

    i made some code that does what i wanted and will post it as the answer to my question;

    heres the code;



    using System;
    using System.Collections.Generic;
    using System.Linq;
    using...
  19. this is the algorithm i drafted for the last two...

    this is the algorithm i drafted for the last two updates in my previous list;

    2 lion and mouse
    3 and mouse
    4 lion and mouse
    5 lion and
    6 lion and mouse
    7 lion mouse

    step 1;
  20. need algorithm help, sorting groups of text by comparing words

    here is the code plan i wrote up so far, no coding done yet;

    updates still to do:

    - the words are in the articles lines
    i write the line the word is on, as the first word, then i write the...
  21. hey thats nice sorry for the delay i was busy.

    hey thats nice sorry for the delay i was busy.
  22. using indexof to remove first two words of string

    my code words but its ugly;



    string word = "Hello World donkey kong";
    if (word.Length > 0)
    {
    int i = word.IndexOf(" ") + 1;
    string...
  23. i found out what i was doing wrong. i shortened...

    i found out what i was doing wrong. i shortened the string by removing duplicate words, then i counted the original longer version and it didnt match up with what should have been counted.

    so with...
  24. i dont know what to do to count all matching words

    i have a bunch of string each in their own array element.

    i put each array element into its own new array, the new array holds each word of the string.

    i take the array holding individual...
  25. Replies
    1
    Views
    1,348

    i was giving the wrong input. it was returning...

    i was giving the wrong input. it was returning what it was supposed to for the input i was giving it. i made a mistake. when i put the code without the p for loop in a class then called the function...
Results 1 to 25 of 333
Page 1 of 14 1 2 3 4