Search:

Type: Posts; User: kolliash

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    3,797

    Maths For Game Programming?

    Calculus
    Section 1: What Is A Derivative?
    Section 2: The Derivative Defined As A Limit
    Section 3: Differentiation Formulas
    Section 4: Derivatives Of Trigonometric Functions
    Section 5: The Chain...
  2. Thread: Wrong Output!

    by kolliash
    Replies
    6
    Views
    2,155

    #include #include using...

    #include<cstdlib>
    #include<iostream>

    using namespace std;

    int factorial(int *,int); //number and result
    int main()
    {
    int fact,num;
    cout<<"Enter a number!"<<endl;
  3. Thread: Wrong Output!

    by kolliash
    Replies
    6
    Views
    2,155

    what? if I return the value during recursion the...

    what? if I return the value during recursion the control shifts back to main and i get the wrong output

    how do i put warnings to max ?

    I have

    1)enable exceptional handling
    2) generate...
  4. Thread: Wrong Output!

    by kolliash
    Replies
    6
    Views
    2,155

    Wrong Output!

    #include<cstdlib>
    #include<iostream>

    using namespace std;

    int factorial(int *,int); //number and result
    int main()
    {
    int fact,num;
    cout<<"Enter a number!"<<endl;
  5. Thread: File Question

    by kolliash
    Replies
    9
    Views
    2,314

    #include #include...

    #include<stdio.h>
    #include<conio.h>
    #include<stdlib.h>
    struct customer
    {
    int accno;
    char name[30];
    float balance;
    }cust;
    struct trans
  6. Thread: File Question

    by kolliash
    Replies
    9
    Views
    2,314

    File Question

    #include<stdio.h>
    #include<conio.h>
    #include<stdlib.h>
    struct customer
    {
    int accno;
    char name[30];
    float balance;
    }cust;
    struct trans
  7. Replies
    1
    Views
    1,006

    Structure question

    struct address {
    int street_no;
    char *street_name;
    char *city;
    char *prov;
    char *postal_code;
    };
  8. Replies
    1
    Views
    2,600

    Queue implementation

    #include<stdio.h>
    #include<stdlib.h>
    struct queue
    {
    int n;
    struct queue *next;
    };
    struct queue *q;
    void push();
    void pop();
  9. Thread: C or C++

    by kolliash
    Replies
    41
    Views
    9,193

    Looks very complicated. WritePixel(x,...

    Looks very complicated.


    WritePixel(x, (int)128+cos(x*DEG_TO_RAD)*100, 0xFFFFFFFF);

    is the above line a custom function or a library function?
  10. Replies
    17
    Views
    4,382

    Yes, it does work. But did I implement it right?...

    Yes, it does work. But did I implement it right? I followed this animation tutorial :

    http://www.cse.ust.hk/faculty/tcpong/cs102/summer96/aids/select.html
  11. Replies
    17
    Views
    4,382

    #include #include #define...

    #include<stdio.h>
    #include<conio.h>
    #define size 10
    void main()
    {
    int arr[size],i,j,nLarge,nLast=size,nSpos,t;
    printf("Enter Input Data..\n");
    for(i=0;i<size;i++)
    {
    scanf("%d",&arr[i]);
  12. Replies
    17
    Views
    4,382

    #include #include #define...

    #include<stdio.h>
    #include<conio.h>
    #define size 7
    int bnsearch(int [],int,int,int);
    void main()
    {
    int arr[size],i,element,pos,low,high;
    printf("Enter data..\n");
    for(i=0;i<size;i++)
    {
  13. Replies
    17
    Views
    4,382

    #include #include #define...

    #include<stdio.h>
    #include<conio.h>
    #define size 7
    int bnsearch(int [],int,int,int);
    void main()
    {
    int arr[size],i,element,pos,low,high;
    printf("Enter data..\n");
    for(i=0;i<size;i++)
    {
  14. Replies
    17
    Views
    4,382

    Binary Search Please check if it's right..

    #include<stdio.h>
    #include<conio.h>
    int bnsearch(int [],int,int,int,int);
    void main()
    {
    int arr[10],i,element,pos,low,high,size=10;
    printf("Enter data..\n");
    for(i=0;i<10;i++)
    {...
  15. Memory Allocation Using String (Please Help)

    #include<stdio.h>
    #include<conio.h>
    #include<stdlib.h>
    #define size 10
    void main()
    {
    int i,s;
    char **names;
    printf("Enter Size Of Array..\n");
    scanf("%d",&s);
Results 1 to 15 of 15