Search:

Type: Posts; User: overlord21

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. should the functions be handled this way? void...

    should the functions be handled this way?
    void execute_instruct(){

    switch (IR )
    {
    case 0xA:
    printf("==> Execute Instruction LOAD MQ\n");
    load_MQ(verbose); ...
  2. issue with IAS machine instruction cycle simulator in C programming

    hello everyone i've got this assignement where i have to demonstrate the fetch and instruction cycle of an IAS machine

    Until now i've implemented the needed functions

    but my issue is regarding...
  3. Replies
    6
    Views
    11,144

    This a math problem? but what the hell yu say i...

    This a math problem? but what the hell yu say i told that i have problems with the recursive formula as it gives strange results for 3 x 3 matrice and more
  4. Replies
    6
    Views
    11,144

    Matrice Recursive Determinant Calculation

    Hi i have problems calculating the determinant of more than a 2 x2 can anyone help


    nt determinant(int matrix_temp[10][10],int size_matrice) //Get the minor of the matrice
    {
    int...
  5. Replies
    1
    Views
    2,459

    Matrice Recursive Determinant Calculation

    Hi i have problems calculating the determinant of more than a 2 x2 can anyone help


    nt determinant(int matrix_temp[10][10],int size_matrice) //Get the minor of the matrice
    {
    int...
  6. void view_account(char *filename) { int...

    void view_account(char *filename)
    {
    int count=0;
    int i=0;
    account t[30];
    FILE *file=fopen(filename,"rb");
    if(file!=NULL)
    {
  7. random access and sequential binary files and functions issues

    here i have the function that is supposed to delete a selected account and display the change in the file, but this instead removes all the account and leave only one. Can anyone help

    void...
  8. Replies
    22
    Views
    2,851

    this problem is only in when this is called in...

    this problem is only in when this is called in the delete function
  9. Replies
    22
    Views
    2,851

    well here's the view account stuff. It works fine...

    well here's the view account stuff. It works fine the other function but displays only the last account created is displayed

    void view_account(char *filename)
    {
    int count=0;
    int i=0;...
  10. Replies
    22
    Views
    2,851

    any idea?

    any idea?
  11. Replies
    22
    Views
    2,851

    the problem i guess is within the deleting loop....

    the problem i guess is within the deleting loop. In fact, after the execution of this fuction it delete all except the last one




    void account_delete(char *filename)
    {
  12. Replies
    22
    Views
    2,851

    what is the real problem plz i don't understand

    what is the real problem plz i don't understand
  13. Replies
    22
    Views
    2,851

    should i inset a fwrite in the for loop of "i"?

    should i inset a fwrite in the for loop of "i"?
  14. Replies
    22
    Views
    2,851

    even if out of topic can anyone tell why did...

    even if out of topic can anyone tell why did function removes all but on account as i only want to remove one?
    void account_delete(char *filename)
    {



    int count=0,i=0,g,h;...
  15. Replies
    6
    Views
    1,641

    void change_password(char *filename) { ...

    void change_password(char *filename)
    {



    int pos;
    char pwd[20];

    account temp;
  16. Replies
    6
    Views
    1,641

    sorry the delete operation works but those where...

    sorry the delete operation works but those where i need to modify the record still doesn't write the modified code here is a function wich modify the password of an account record
  17. Replies
    6
    Views
    1,641

    even if i remove the read there is no change...

    even if i remove the read there is no change .also in other functions i nedd to read the record to modify and then write it back.
    the viewall function display all the content off the file
  18. Replies
    6
    Views
    1,641

    writing in a specific position

    i'm trying to delete an account in my file but the problem is that i can reach my position depending on my index but i cann'ty write in this record



    void account_delete(char *filename)
    {
    ...
  19. Replies
    22
    Views
    2,851

    ok even if declared the "i" this doesn't sort any...

    ok even if declared the "i" this doesn't sort any explanation
  20. Replies
    22
    Views
    2,851

    in the for loop its already initialized no? (for...

    in the for loop its already initialized no? (for i=0....)
  21. Replies
    22
    Views
    2,851

    in the for loop its already initialized no? (for...

    in the for loop its already initialized no? (for i=0....)
  22. Replies
    22
    Views
    2,851

    for the sorting part here's the whole program but...

    for the sorting part here's the whole program but the sort() function crashes

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

    typedef struct account

    {
    char name[20];
  23. Replies
    22
    Views
    2,851

    the comment represent the standard method of...

    the comment represent the standard method of checking the digits but it didn't work and i don't realy know how to implement it in the fill_account
  24. Replies
    22
    Views
    2,851

    need to adapt the check_password function with...

    need to adapt the check_password function with the program above
  25. Replies
    22
    Views
    2,851

    sorting and the use of isdigit

    i need help with checking if there's a number or a digit in an imput which is here the password


    void fill_account(account *c)
    {
    int flag=0,i,sum;

    printf("give the name of account...
Results 1 to 25 of 72
Page 1 of 3 1 2 3