User Profile

Collapse

Profile Sidebar

Collapse
akk003
akk003
Last Activity: Mar 4 '08, 02:57 AM
Joined: Aug 24 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • akk003
    replied to Difference between %c and %s in scanf()
    in C
    thankyou all for the quick responses !!!
    I now understand the problem which Parul just explained.
    See more | Go to post

    Leave a comment:


  • akk003
    replied to Difference between %c and %s in scanf()
    in C
    Thankyou for your prompt reply. But userIN happens to be a char variable and it isn't an array....
    See more | Go to post

    Leave a comment:


  • akk003
    started a topic Difference between %c and %s in scanf()
    in C

    Difference between %c and %s in scanf()

    Hello

    I'am a returning coder to C programming language and would appreciate if you could help me understand why does my while loop behave normally in the following code:

    Code:
    int loop = 1;
    char userIN;
    while(loop)
    {
    printf("\nIf you want to retrieve tuples prompt y/n: \t");
    //items_read = scanf("%s",&userIN);
    scanf("%s",&userIN);
    if(userIN=='n'||userIN=='N')
    ...
    See more | Go to post

  • akk003
    started a topic composing musical notes from a text file
    in .NET

    composing musical notes from a text file

    Hi
    I'am learning about midi files and the way they are played using DirectMusic in VC++.
    I have come across few tutorials that guide you to play music, but somehow I haven't figured out how to compose music.
    How do I compose musical notes from a text file?
    Kindly help.
    See more | Go to post

  • akk003
    started a topic Using DirectShow in VC++ using /clr
    in .NET

    Using DirectShow in VC++ using /clr

    Hi,
    I want to build an application that will capture video frames. Kindly advice me where to start in /clr.
    See more | Go to post

  • akk003
    replied to Array of a Color type
    in .NET
    Why would'nt the following code work?
    Code:
    System::Drawing::Color col;
    Array^ arr = gcnew System::Array::CreateInstance(col.GetType(),bmp1->Width);
    ...
    See more | Go to post

    Leave a comment:


  • akk003
    started a topic Array of a Color type
    in .NET

    Array of a Color type

    Hi,
    how do I create an array of System::Drawing ::Color type such that its dimension is equal to the image width?
    Please help
    See more | Go to post

  • akk003
    started a topic convert binary file to hexadecimal... Please help
    in C

    convert binary file to hexadecimal... Please help

    Hi,
    I have to convert to a hexadecimal file. I'am new to file handling so kindly review my code and tell me why does it crash!
    Code:
    //As inputs, I use:
     // hexdump_c.cpp
    // gif.txt  /* after this, the error report screen from Microsoft comes up, saying the program has to close */
    // Press any key to continue . . 
    #include <stdio.h>
    
    int main(int argc,char* argv[])
    {
    	FILE* fileHandle;
    ...
    See more | Go to post

  • Impleament cross dissolve transition between two images

    Hi I want to implement cross dissolve transition between two images. how do I implement it in VC++ windows forms??
    Kindly help.
    See more | Go to post

  • akk003
    started a topic file copying data from .txt to .dat
    in C

    file copying data from .txt to .dat

    Hi I need to copy the first 3 lines of a "example.tx t" file to a "sample.dat " file, how do I do it? i tried getline but that duz'nt give me the entire header of the file. the first three lines of the file are:

    P6
    # Created by IrfanView
    550 300
    255

    I can use getline(str,80, '\n') , but then how to regresh str, to use getline 2 more times for the next 2 lines.
    Please hel...
    See more | Go to post

  • akk003
    started a topic Multimedia in C++
    in C

    Multimedia in C++

    Hi, is it pssible to perform simple multimedia operations such as editing a bitmap or implementing a JPEG compression algorithm? If so what should be the approach of a newbie :-)
    See more | Go to post
No activity results to display
Show More
Working...