Search:

Type: Posts; User: lockpatrick

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,323

    Double Data Rate (DDR).

    During rising edge OR falling edge of a clock, data are taken once within one clock cycle in an electronic circuit such as D-flipflop. Meanwhile for double data rate like DDR RAM, during rising edge...
  2. Replies
    8
    Views
    2,751

    English Grammar.

    I always heard people using these tenses like 'have had' and 'had been'.

    As far as I know, the tense 'have been' is used when you did something in the past and still doing it right until now. For...
  3. Thread: Thanks

    by lockpatrick
    Replies
    0
    Views
    1,115

    Thanks

    Thanks everyone!

    Ahh! I have bought the new computer with the preloaded OS before I posted my first post. Too late.:( . I will not repeat again!
  4. Thread: Rights?

    by lockpatrick
    Replies
    6
    Views
    1,612

    Rights?

    Let's say, for example, I bought a desktop computer which comes together with a preloaded OS. Then after a few months, I plan to buy another desktop but as usual the bundle comes with a preloaded OS....
  5. Replies
    3
    Views
    2,223

    Noise pollution

    Is there any software out there that steps down the speed of the CD ROM. It is quite noisy. Einggggggg! There it goes again!
  6. Replies
    3
    Views
    1,087

    Initialization. Are they the same?

    Is the way they initialise variable facing any problem?
    Is the way they initialise are the same?

    class Initial
    {
    public:
    Initial();
    ~Initial();

    private:
  7. Replies
    1
    Views
    856

    Sequence of Destructor

    I don't understand why the sequence of the Destructor of these two classes are different? Does that make any difference?



    class Date
    {
    public:
    Date( int = 1, int = 1, int = 1990 );...
  8. Replies
    2
    Views
    1,000

    errr

    >>The first is a struct declaration with a tag and an instance. So while it has at least one instance, more can be made with the tag. The second has no tag and an instance, that instance is the only...
  9. Replies
    6
    Views
    1,036

    More than 8 strings

    #include <stdio.h>
    #include <stdlib.h>
    #define MAXLINES 8

    int main()
    {
    char *lines[MAXLINES];
    int n=0;
    char buffer[80];
  10. Replies
    17
    Views
    3,511

    Doubt!

    Nutshell wrote:

    typedef struct stackNode StackNode;
    typedef StackNode *StackNodePtr;
    ----------------------------------------------------

    First typedef: StackNode is synonymic to struct...
  11. Replies
    2
    Views
    1,000

    typedef again!

    struct hello
    {
    char d;
    }instance;

    Accession to the structure field: instance.d = 'A'

    AND

    struct
  12. Replies
    2
    Views
    1,892

    Controlling ports

    Is it possible for me to write a program that enables me to control the ports (i.e. parallel, serial, usb and etc...) of a computer by using C or C++ programs under suse linux 8.0?

    If yes, where...
  13. Replies
    3
    Views
    1,324

    Mistake.

    Thanks for your help, Quzah!


    >>I also don't know why it didn't print out the 'compare' value?
    Mistake:

    fprintf(fptr2, "%d\n\n", compare);

    The conversion specifier should be %f not %d....
  14. Replies
    3
    Views
    1,324

    repeated value in file

    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
    int count=0;
    float data, compare = -9999.0;

    FILE *fptr1, *fptr2;
  15. Replies
    6
    Views
    8,853

    Ahem! another problem

    First of all, thank you for replying but there is a problem in this source code (posted by 'Prelude'). When I accidentally or purposely entered a float number something like this 1.23, it doesn't...
  16. Replies
    6
    Views
    8,853

    declared int but entered a char

    #include <stdio.h>

    int main()
    {
    int n;
    printf("Please enter one integer: ");
    scanf("%d", &n);

    printf("Entered integer = \n");
  17. Replies
    2
    Views
    1,793

    enumeration

    enum hello {a, b, c, d, e};

    Over here a = 0, b = 1, c = 2 etc....

    Question:
    Is it possible to declare an enum number other than integer like float or double?

    If it is float, 'a' should be...
  18. Replies
    9
    Views
    2,025

    Curious and have no idea!

    >>fflush(stdin);
    Why can we use this function as it clears whatever entered?

    >>system("PAUSE")
    What does this function, function as?

    >>scanf("%i", &n);
    Haven't seen this '%i' before. What...
  19. Replies
    9
    Views
    2,025

    Purposely causing an error.

    >>I suggest you look at the function fgets() which allows you to set a maximum number characters to be read.

    Thanks for your suggestion.

    >>well....im not sure but u can try using...
  20. Replies
    9
    Views
    2,025

    Is there any clear function?

    #include <stdio.h>
    #include <string.h>

    main()
    {
    char s[2][3];
    int c;

    for( c = 0 ; c < 2 ; c++ )
    {
  21. Replies
    9
    Views
    1,410

    Couldn't spot the error.

    #include <stdio.h>

    main()
    {
    char *c[3];
    int count;

    for( count = 0; count < 3 ; count++)
    {
    printf("Enter your %d c: ", count + 1);
  22. Replies
    1
    Views
    873

    Is there other way?

    Question:
    Is there any other way to detect the variables limits (i.e. integer limits -32768 to 32767) through programming instead of referring to books and internet.:)
Results 1 to 22 of 22