Search:

Type: Posts; User: CChakra

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    564

    Sum of prime numbers

    #include<stdio.h>
    int main(){

    int num,i,count,min,max,sum=0;

    printf("Enter min range: ");
    scanf("%d",&min);

    printf("Enter max range: ");
    scanf("%d",&max);
  2. Simple example for Data access layer and Business logic layer

    Hello everyone ,I need a simple console application program for understanding Data Access Layer , business logic layer , and entity layer. All the examples I have found on Internet are advanced and...
  3. thanks laserlight :)

    thanks laserlight :)
  4. * *** ***** ******* ***** *** * the...

    *
    ***
    *****
    *******
    *****
    ***
    *


    the program prints a diamond shape.
  5. Would anyone please explain me this logic ?

    int main()

    {

    int i=0, j=0, NUM=3;

    for(i=-NUM; i<=NUM; i++)

    {
  6. no , I did not check that bro. thanks for the...

    no , I did not check that bro. thanks for the heads-up. :) and I will also follow your video tutorials. :)
  7. Requesting C/c++ links for logic development.

    I need some good links or your personal blogs for developing logic. Specially I want to be expert at using loops and their iterations. I am always get confused with loops.
  8. Replies
    7
    Views
    746

    by trim the numbers ? I meant rounding it off....

    by trim the numbers ? I meant rounding it off. True , this is a Java code snippet but bro what could I do ? There is no Java forum here and I was looking for the logic and everyone knows C...
  9. Replies
    7
    Views
    746

    How to trim numbers

    Hi there , In my assignment I need to create an array and fill it with numbers from 1 to 15. The below array must return values randomly from 1 to 15 without any repetition.


    public int[]...
  10. Dear Elysia, I just copied the question here as...

    Dear Elysia, I just copied the question here as it is. Question asks me to accept the suitable fields , nothing else. I am not familiar with business logic and financial terms. Yes , I admit it's a...
  11. Replies
    5
    Views
    556

    thank you , all :)

    thank you , all :)
  12. Should I accept values for Vendor's totalBudget ,...

    Should I accept values for Vendor's totalBudget , "dollarRate/hour", and
    totalNoOfHours.

    Should I ask the user to choose from various variants(1 to 3) ? such as

    1. If Client bears the cost of...
  13. Replies
    5
    Views
    556

    String[] words =...

    String[] words = {"One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Zero"} ;
    how to separate digits from each other ? If I knew this, it would be easier for me to use if-elseif...
  14. Replies
    5
    Views
    556

    Number to Words Program

    **makes face like a three year old** I ask for a program to convert a number to words. for ex. 12345 -> one two three four five.
  15. Vendor's profit or Loss. (business logic Question )

    A vendor offers software services to a client. Each resource is billed at some dollar rate per hour. The total cost of the project for the client is therefore , the total number of hours contributed...
  16. Replies
    2
    Views
    2,758

    thanks buddy :) I have been looking for this....

    thanks buddy :)

    I have been looking for this. :)
  17. Replies
    2
    Views
    2,758

    Getting the desktip window

    Hi fellas ,

    I intend to know how to get desktop window with C#.I do know I will have to
    use [DllImport] technic but don't really know which windows Api.I want to
    do fun with desktop for ex :...
  18. Replies
    5
    Views
    1,033

    I heard GTK is great GUI design API.It supports...

    I heard GTK is great GUI design API.It supports c++/C#/python programming languages.Most of
    C++ beginner use vc++ ,gcc and Code::blocks.
  19. Replies
    21
    Views
    2,684

    thanks for the method , you told me exactly what...

    thanks for the method , you told me exactly what I was looking for. :)
  20. Replies
    21
    Views
    2,684

    Dos.h from Turbo C 3.0

    I am curious to know how sound() function works.If you have time and goodness
    please explain me.
  21. Replies
    21
    Views
    2,684

    Bubba and M37h0d thanks for your precious...

    Bubba and M37h0d thanks for your precious information. :)

    What you explained me is beyond my question. Hehehe

    What I actually wanted was to generate sound from internal PC speaker.Just a...
  22. Replies
    21
    Views
    2,684

    I am on .net bro , I want to have fun with PC...

    I am on .net bro , I want to have fun with PC internal speaker.I am using Beep() function
    via Dll-import technic of C#.I am not even using c++ .... I am just converting yours
    tips to C#.Currently I...
  23. Replies
    21
    Views
    2,684

    I tried to play with assembly language to...

    I tried to play with assembly language to generate sounds but it's a big pain in neck.I don't
    want to remember horrible instructions to generate a simple ring tone. LOL

    So I want the calculation...
  24. Replies
    21
    Views
    2,684

    M37h0d : thank you so much for help. please...

    M37h0d : thank you so much for help.

    please give or pm any code you have regarding generating ring tones.

    DougDbug : thanks for the info. :)

    However , I did the same way what DougDbug...
  25. Replies
    6
    Views
    989

    Well, that explains what managed c++ is. ;) ...

    Well, that explains what managed c++ is. ;)

    thanks all :)
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4