Search:

Type: Posts; User: Innos

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: C++ gui

    by Innos
    Replies
    7
    Views
    1,137

    Thanks Mario and Matticus for the replies. I am a...

    Thanks Mario and Matticus for the replies. I am a newbie and I try to clean up some thoughts, so that would do.
  2. Thread: C++ gui

    by Innos
    Replies
    7
    Views
    1,137

    C++ gui

    Why should someone try to make a GUI in c++ rather than visual basic (forms application)???
    Isn't visual basic drag and drop better and easier?

    Thanks in advance
  3. Replies
    10
    Views
    10,312

    Anyone knows any Visual Basic code tutorials?...

    Anyone knows any Visual Basic code tutorials? Because VB's coding is different from C++
  4. Replies
    10
    Views
    10,312

    C++ VS Visual Basic

    What are the advantages and disadvantages on those 2 languages? Visual Basic as I have seen is much more simpler, so why someone should learn C++?
  5. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Found it! I had to add break; on each of the...

    Found it! I had to add break; on each of the following if statements :D Thanks tabstop!
  6. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    I get it, if I input A ((x!='A' ||...

    I get it, if I input A
    ((x!='A' || x!='a')=1||0=1(true)
    (x!='B' || x!='b')=0||0=0 etc... So While loop get's a true evaluation and keeps looping.
    I thought of this way

    #include <iostream>
    ...
  7. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    If user types 'a' then the program does p=5 . If...

    If user types 'a' then the program does p=5 . If the user types anything else except a b or c then it does the loop.
  8. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Something kind of irrelevant.. #include...

    Something kind of irrelevant..


    #include <iostream>
    using namspace std;
    cout<<"Give a,b or c\n";
    char x; int p;
    cin>>x;
    while ((x!='A' || x!='a') || (x!='B' || x!='b') || (x!='C' ||...
  9. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Something last.. #include #include...

    Something last..

    #include <iostream>
    #include <stdlib.h>
    using namespace std;
    int main()
    {
    system ("Color 0c");
    int pass=6101992; int x; double overtime=0.0; double salary;
    int...
  10. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Correct tabstop. I was calculating my holiday...

    Correct tabstop. I was calculating my holiday hours with 70% and not 75%.. Sorry for this... ;)
  11. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Here we go again... #include ...

    Here we go again...

    #include <iostream>
    #include <stdlib.h>
    using namespace std;
    int main()
    {
    system ("Color 0c");
    int pass=6101992; int x; double overtime=0.0; double salary;
    ...
  12. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    What is 1000 on cin.ignore? I thought...

    What is 1000 on cin.ignore? I thought cin.ignore() is to ignore the enter as an input from the user. One solution I can come up with is after every cin input to use cin.ignore() and in the end use...
  13. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    I will adjust the recommendations (instead of...

    I will adjust the recommendations (instead of goto, put while, etc) to the program now.
    Something last.. Why cin.get() doesn't always work?? In many of my programs I've tried cin.get() and the...
  14. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    God damn! Such a simple solution and I didn't...

    God damn! Such a simple solution and I didn't even notice! I stand corrected my friend!!
    Here is the working code:

    #include <iostream>

    using namespace std;
    int main()
    {
    int pass=123;...
  15. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Alright, from int I made it into double. Here is...

    Alright, from int I made it into double. Here is the input:

    #include <iostream>
    #include <conio.h>
    using namespace std;
    int main()
    {
    int pass=123; int x; double overtime; double salary;
    ...
  16. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    All these are nice but the solution?? What is...

    All these are nice but the solution?? What is wrong with the program? Calculations are correct so why it doesn't give a correct answer?
  17. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    If I put on all couts zero I get 1977749858 as a...

    If I put on all couts zero I get 1977749858 as a result... and if I put 1 on all couts I get 1977749687..
  18. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    The worker works 22 days on each month, so...

    The worker works 22 days on each month, so 22*8=176 . Everything that is over 176 is considered overtime. For example, the user gives 186 hours so 10 hours are overtime. My calculations are the same...
  19. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Put it in a compiler and see how it works man.....

    Put it in a compiler and see how it works man.. Omg, maybe you would like some tea too sir?
  20. Thread: Payment program

    by Innos
    Replies
    43
    Views
    2,643

    Payment program

    Here's the deal:
    -Payment rate is 2.55 per hour
    -Night hours get paid 20% bonus
    -Worked holidays get paid 75% bonus
    Overtime is being paid: for the first 20 hours you get 20% bonus and from the...
  21. Replies
    19
    Views
    2,250

    I have not contradicted myself, you just didn't...

    I have not contradicted myself, you just didn't get the meaning of those 2 phrases mate..
  22. Replies
    19
    Views
    2,250

    It's not tailoring your explanations to my or any...

    It's not tailoring your explanations to my or any other beginner's liking, it's making an explanation that a BEGINNER can underestand, I do not oblige anyone to answer me but if you are going to,...
  23. Replies
    19
    Views
    2,250

    You're wrong. When you see someone who says "I've...

    You're wrong. When you see someone who says "I've spent a day on this, please help", you better give him a good explanation on what he seeks, or if you wish to be laconic just don't post and add to...
  24. Replies
    19
    Views
    2,250

    Loop is used to repeat a block of code, meaning a...

    Loop is used to repeat a block of code, meaning a block of code we mean the content which is enclosed within 2 braces
    ({) and (})
  25. Replies
    19
    Views
    2,250

    First of all I never had reading comprehension...

    First of all I never had reading comprehension problems and never will I get... I don't have a teacher to fully underestand C++ and unlike (probably) any of you here I start from scratch using...
Results 1 to 25 of 70
Page 1 of 3 1 2 3