Search Results - VBForums

Search:

Type: Posts; User: lkallas

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: Integer based console menu problem

    And you've made my day again, 2kaud!

    The code you've provided is exactly what I was looking for!

    Thread resolved!
  2. Re: Integer based console menu problem

    Thank you 2kaud, good explanation!



    cin.ignore(1000, '\n');
    return choice;


    Does the trick!
    But I am wondering if this cin.ignore(1000, '\n'); "hack" is a good way in terms of integer...
  3. [RESOLVED] Integer based console menu problem

    Hi!

    I have a problem with a integer based menu that I use in my console program.



    #include <string>
    #include <iostream>

    using namespace std;
  4. Re: Pipe "|" delimited file into separate variables to insert into linked list

    Thank you for these instructions. Helped me a lot further with my studies.
    Hope that some day I can be as good as 2kaud and help beginners with their studies.

    I think I can mark this thread as...
  5. Replies
    13
    Views
    534

    Re: Searching data from nodes in linked list

    Thank you!
    I also wasn't paying attention to this boolean as I was looking through the code.
    Now it works brilliantly. Learned alot, nice job!
  6. Re: Pipe "|" delimited file into separate variables to insert into linked list

    Wow, 2kaud!
    This was fast! You've done everything for me!
    From the first look there are few new things for me in your code that I need to learn.
    I'll fiddle with this code a little bit and hope to...
  7. [RESOLVED] Pipe "|" delimited file into separate variables to insert into linked list

    Hi!
    Well this is a nutcracker for me.
    I am trying to do something useful while learning single linked list in c++

    First I have a | delimited file with contents like this:



    John Doe|M|25...
  8. Replies
    13
    Views
    534

    Re: Searching data from nodes in linked list

    Hi again!
    Now it is deleting everything in the list, no matter what :D
  9. Replies
    13
    Views
    534

    Re: Searching data from nodes in linked list

    Thank you 2kaud for thinking along!

    Going a little bit offtopic, sorry!
    Actually I was thinking something else. If there is "Joe" in the list and "Joe" occurs 3 times, then I want to delete all...
  10. Replies
    13
    Views
    534

    Re: Searching data from nodes in linked list

    Thank you 2kaud!

    I was referring to the fact that you keep your code so short and compact. Beginners code isn't like that, only advanced programmers do it so. :)

    Anyway I put together a little...
  11. Replies
    13
    Views
    534

    Re: Searching data from nodes in linked list

    Hi again!

    Thank you for the replies!
    Sorry for the confusion: my teacher wants us to learn linked lists on our own. Thank god for forums and youtube :p

    So I took techgnome advice and end up...
  12. Replies
    13
    Views
    534

    Searching data from nodes in linked list

    Hi!

    I've started learning linked list and now I am trying to implement linked list in my little program. Since I am learning it on my own I don't really know if I am heading to the right...
  13. Re: How to put this code into separate classes in separate files

    Thank you techgnome and 2kaud!

    Learned few new things from 2kaud's version of this code. This code is also easier to read.
    This explains why developers say that it's always a good thing when your...
  14. Re: How to put this code into separate classes in separate files

    Thank you 2kaud!

    I see your point!
    Did some changes to the code.
    But still don't understand the part:


    How should I rewrite the integer occurrence count part? Seems like I am doing some...
  15. How to put this code into separate classes in separate files

    Hi!

    Just recently started learning C++
    I had an excercise which had 3 parts:

    1. Ask the user a number of random integers to be created. Ask the user the range of integers (min and max). Then...
  16. 4.0 Re: Little help with looping XML for values.

    Well, that was FAST!

    Thank you KGComputers, this is exactly what I needed!

    Cheers!
  17. 4.0 Re: Little help with looping XML for values.

    Seems to me that the first iteration gets correct values.
    Now I see.... some Items have more than one Author node and there is more than one MediumImage node within each Item node.

    So I have to...
  18. 4.0 [RESOLVED] Little help with looping XML for values.

    Hi!

    Here's my problem:
    I am trying to loop through a XML response from Amazon Product Advertising api. While looping I am creating a new temporary XML file for using it later with jQuery to...
  19. Replies
    0
    Views
    298

    VS 2010 Amazon product advertising API problem.

    Hi! I am trying to make a asp.net mvc web application that implements amazon product advertising API.
    I can't seem to find any working examples how to use this API and how to conduct a product...
  20. Replies
    1
    Views
    372

    VS 2010 Amazon product advertising API problem.

    Hi! I am trying to make a asp.net mvc web application that implements amazon product advertising API.
    I can't seem to find any working examples how to use this API and how to conduct a product...
  21. VS 2010 Re: Counting special characters in a string?

    Thank you dunfiddlin!
    Thread solved!
  22. VS 2010 Re: Counting special characters in a string?

    Thank you ident and dday9! Wonderfully working codes. ;)

    One question more: how can I test code so that I know how much resource it is taking. Is there any tool for this built in Visual Studio?
    ...
  23. VS 2010 [RESOLVED] Counting special characters in a string?

    Hi!


    I am trying to create a code that counts characters in textbox(including whitespaces) and checks if it contains specific characters: |^€{}[]~
    All these symbols mentioned above will...
  24. VS 2010 Re: Looping: searching string from one array with the string from another array?

    Thank you ident!

    The code you provided does exactly what I wanted. (Y)
  25. VS 2010 [RESOLVED] Looping: searching string from one array with the string from another array?

    Hi again!

    I was wondering if it is possible to check if one big string array contains values from another string array. And if the values match then do smth, else do smth else....


    I thought...
  26. Replies
    5
    Views
    489

    VS 2010 Load contents of a file to datatable

    Hi!

    Never used .csv file for data source so I have a question. I have a file with contents like this:

    Mike
    John
    Evelyn
    etc.

    How do I read this file line by line and store names into a...
  27. Replies
    3
    Views
    557

    VS 2010 Re: SMS character counter

    Fantastic! Thank you! With some adjustments the code worked.

    Totally forgot about modulus. :)

    As I was being happy with the solution I came accross with another problem. The SMS service...
  28. Replies
    3
    Views
    557

    VS 2010 SMS character counter

    Hi!

    One logical excercise...
    I am developing a SMS sending program. I am struggling with character counting.
    Regular SMS is 160 characters long (including whitespaces). So if the character count...
  29. Replies
    9
    Views
    623

    VS 2010 Re: String manipulation

    Ok, now I get it. Thanks!



    Tried all of your codes and all of them worked nicely.
    Ident code has one problem: It'll show the first character only if it's capital letter. If it's not then it...
  30. Replies
    9
    Views
    623

    VS 2010 Re: String manipulation

    Thank you Edgemeal and Zelot!

    I'll give your code a go and see what happens ;)

    What does Split(" "c) do? Especially the letter c? Not very familiar with string splitting.
  31. Replies
    9
    Views
    623

    VS 2010 [RESOLVED] String manipulation

    Hi!

    I am developing an application that needs a function as follows:

    I have a name, for example: John Smith. I want the program to manipulate this "John Smith" string like so it returns string...
  32. Replies
    9
    Views
    768

    VS 2010 String concatenation.

    Hi!
    I have a kind of a stupid question. I have a link that I want to declare as string and put textbox values in it.

    This is what I have so far:

    Dim address As String =...
  33. VS 2010 Re: Editing and adding fields to Access database over LAN

    Did some research on this error and came across with this little article. Thread solved on my behalf. :)


    The unbelievably cryptic Operation Must Use An Updateable Query error is the bane of...
  34. VS 2010 Re: Editing and adding fields to Access database over LAN

    Hi!

    Reporting back the "ex.Message" : Operation must use an updateable query.

    Weird that it doesn't give that message when I run the program directly from my local computer.
  35. VS 2010 Re: Editing and adding fields to Access database over LAN

    Good point!

    I'll do just that.
  36. VS 2010 Re: One project, one Database but multiple forms.

    Ok, I misunderstood you. Design time = with wizard and dynamically=programmatically. Yes, I have studied these tutorials already.
    Unfortunately these tutorials didn't answer my question that I...
  37. VS 2010 Re: One project, one Database but multiple forms.

    What is the difference between them?

    Let's say I want to add tables etc. at design time...

    Sorry, I am still learning the secrets of databases and vb.
  38. VS 2010 One project, one Database but multiple forms.

    I have a fairly simple question (I guess): If I have one project that connects to only one database(Access) with one table, but in my project I have 3 forms. One for displaying and filtering...
  39. VS 2010 Re: Editing and adding fields to Access database over LAN

    Ok, I try to clarify things a little bit. I have one computer where my program is installed. The database that is used by my program is in the same directory as my program.

    Then I shared this...
  40. VS 2010 [RESOLVED] Editing and adding fields to Access database over LAN

    Hi!

    I have made a program that is able to filter, edit, add and delete rows to a database. On my local computer all works fine. But when I share the folder and open the program in another computer...
Results 1 to 40 of 75
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.