Skydiver's Profile User Rating: ****-

Reputation: 3552 Guru
Group:
Moderators
Active Posts:
11,067 (13.06 per day)
Joined:
05-May 12
Profile Views:
52,156
Last Active:
User is offline Today, 03:18 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
PC
Your Car:
Toyota
Dream Kudos:
100
Expert In:
C/C++, C#

Latest Visitors

Icon   Skydiver has not set their status

Posts I've Made

  1. In Topic: Help with dynamic allocation

    Posted 29 Aug 2014

    You are invoking undefined behavior by writing into a zero sized array on your first iteration through the loop, and further invoking undefined behavior by writing past the end of the array on succeeding iterations.

    Anyway, why are you doing this the hard way? Why not simply use the std::vector class? It will dynamically allocate memory as needed.
  2. In Topic: Split string with regex

    Posted 29 Aug 2014

    Or did you just use the code from the response to your cross post?

    The code in the cross post does not split your original string. It finds matches within the string, but it is not doing the splitting as you've requested in the same sense as the String.Split() function works.
  3. In Topic: Split string with regex

    Posted 29 Aug 2014

    Can you show us how you got it working?
  4. In Topic: Time delay function required

    Posted 29 Aug 2014

    View PostSatabios, on 30 August 2014 - 12:48 AM, said:

    this is not the acutall code nut i used it in this way:
    #include<iostream.h>
    #include<conio.h>
    void main()
    {
      clrscr();
     cout<<"Press any key to continue";
      getch();
     cout<<"The program has continues";
    }
    
    

    when i compiled it the 1st statement appeared and after i press any key it moved to the next line and printed the 2nd statement i want to modify this or function if any function is available such that before a specific period of time if any key is pressed it has to come out of the timer and continue to the secoond statement and if any key is not pressed thn it has to skip few lines......


    You stated in post #6 that you solved your second question by using getch(). But that code there does not demonstrate that you solved the problem. Your code will always stop at line 7 and wait for the user to press a key. It did not detect that the timer finish running. It did not skip the next few lines.
  5. In Topic: Time delay function required

    Posted 29 Aug 2014

    Please use proper punctuation. It is very hard to understand what you are saying without being able to tell where sentences begin and end. You may be in high school, but as far as I know they teach you punctuation in high school.

    As for which compiler to use, I suggest using Code::Blocks or Visual Studio 2013 Express. Both are free and can be downloaded for use on Windows 8.

My Information

Member Title:
Code herder
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
programming, shooting, skydiving, scuba, photography, game dev, cryptography, design patterns, agile methodologies, scifi, fantasy,
Years Programming:
33
Programming Languages:
C, C++. C#, PHP, JavaScript, Pascal, SQL, BASIC, Forth, x86, 65000, 65xx,

Contact Information

E-mail:
Private

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    tarmizi_adam2005 Icon

    08 Mar 2014 - 09:03
    Congrats on the 3k rep ! also, before your rep changes nice palindrome rep, 3003.
  2. Photo

    tarmizi_adam2005 Icon

    27 Nov 2013 - 18:56
    Just wanted to stop by and say thanks on the advices you gave in my post (read wav files C/C++) the other day.
    Thanks again Skydiver
  3. Photo

    sanwall Icon

    27 Nov 2013 - 00:54
    kindly answer my post about visual studio!
  4. Photo

    raspinudo Icon

    03 Jul 2013 - 05:51
    Nice Star Trek t.n.g. Reference
  5. Photo

    todddowers Icon

    26 Jun 2013 - 23:07
    hello i was wondering do you know anything about text based games.
  6. Photo

    CY5 Icon

    10 Jun 2013 - 07:07
    Thanks SkyDiver you're always there to help on C# forum
  7. Photo

    Jovel Mark Icon

    05 Mar 2013 - 23:51
    salamat sa pagtulong .. keep it up the work..
    kung wala kamo wala kami mahimo sang amon nga project ba,, madamo gd nga salamat sa pagtabang..
  8. Photo

    tlhIn`toq Icon

    30 Dec 2012 - 16:20
    Congrats on the Mentor badge. I think that is new record. Glad to have you on board.
  9. Photo

    lp94 Icon

    07 Oct 2012 - 06:09
    thank you soooooo much <3
  10. Photo

    kai_itz me Icon

    25 Sep 2012 - 04:40
    i agreed with MrShoes.
    More knowledgeable than many; more patient than most.
    very well said :)
  11. Photo

    tlhIn`toq Icon

    01 Sep 2012 - 15:22
    I just saw the Expert badge... Well done!
  12. Photo

    nazzie Icon

    22 Aug 2012 - 00:34
    Thanks for your Help! Keep up the good work.. thanks so much! ^_^
  13. Photo

    vikuseth Icon

    17 Aug 2012 - 23:12
    hi
    thanks for helping me in Dll issue .
    you are the best. ..
    good luck...
  14. Photo

    MrShoes Icon

    08 Aug 2012 - 00:49
    More knowledgeable than many; more patient than most.
  15. Photo

    BarackObama Icon

    31 Jul 2012 - 00:59
    This guy is the best! Love him
  • (2 Pages)
  • +
  • 1
  • 2