Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: mathmari

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    298

    need help-regular expression-automata

    Hello, I have to find the automata that accepts the language of the regular expression {(ba)*,(cb)+}bc. Could someone explain to me what this expression means?
  2. Deterministic finite automata using a state diagram

    Hi!

    I have the following exercise:
    "Draw the deterministic finite automata using a state diagram so that accepts the language {λ ε {a,b}*: each a in the word λ appears only after or before a b}."...
  3. Replies
    16
    Views
    418

    Re: Code does not work!!!

    Ah ok...I haven't get taught stdin yet :)
  4. Replies
    16
    Views
    418

    Re: Code does not work!!!

    I want that my code works,for the string VENICE...If I use fgets,do I not have to create a file???
  5. Replies
    16
    Views
    418

    Re: Code does not work!!!

    I changed the code:


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

    void func(char *p1,char *p2){
    char ch;
    while (p1<p2){
    ch=*p1;
  6. Replies
    16
    Views
    418

    Re: Code does not work!!!

    Ok...nice...Oh no,I am sorry I wanted to decrement p2!!!!
  7. Replies
    16
    Views
    418

    Re: Code does not work!!!

    I haven't got it and also I haven't got taught streams.Could you explain me again??? :blush:
  8. Replies
    16
    Views
    418

    Re: Code does not work!!!

    You mean like that:


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

    void func(char *p1,char *p2){
    char ch;
    while (p1<p2){
    ch=*p1;
  9. Replies
    16
    Views
    418

    Re: Code does not work!!!

    So....how can I change my code so that it works??? :confused:
  10. Replies
    16
    Views
    418

    Code does not work!!!

    Hi everybody!!!!
    Could you tell me why the following code doesn't work???
    That is the code:


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

    void func(char *p1,char *p2){
    char ch;
  11. Replies
    7
    Views
    295

    Re: Binary file-question!!!

    Nice!!!!Thank you very much!!!!!!! :)
  12. Replies
    7
    Views
    295

    Re: Binary file-question!!!

    Why does it not give the right output???
  13. Replies
    7
    Views
    295

    Re: Binary file-question!!!

    My file is binary-coded,I had written this code:


    #include <stdio.h>



    struct info

    {
  14. Replies
    7
    Views
    295

    Re: Binary file-question!!!

    so...what could I change???
  15. Replies
    7
    Views
    295

    Binary file-question!!!

    Hi!!!I need some help!!!
    I have written the following code:


    #include <stdio.h>

    struct info
    {
    float mo;
    int age;
  16. Replies
    6
    Views
    588

    Re: structure defined inside parms!

    Oh my sorry...!!!I saw the warning and thought the program couldn't be compiled!My compiler,cygwin,compiles it too without error...Thank you very much!!!!!! :thumb:
  17. Replies
    6
    Views
    588

    Re: structure defined inside parms!

    And if I am asked to use the k&r style,could you tell me how I can get rid of the error??? :(
  18. Replies
    6
    Views
    588

    Re: structure defined inside parms!

    I am learning c and my teacher taught me,that,besides that way you sent me,I can also use the the k&r style...So is this method wrong???
  19. Replies
    6
    Views
    588

    structure defined inside parms!

    Hi!Could you tell me why I get this message: warning: structure defined inside parms,when I run the program??? :blush:


    #include <stdio.h>

    struct test
    {
    char x;
    int y;
    float z;
  20. Replies
    0
    Views
    186

    Directed Graph-weight

    Hi!!!
    I'm facing some difficulties with the following exercise...I hope someone can help me!!!
    Let G=(V,E) be a directed graph with weight w: E->R, n=|V|.
    Let m( c )=1/k*sum(w(e_{i}), i=1,k) be...
  21. Thread: bytes!!!

    by mathmari
    Replies
    2
    Views
    171

    Re: bytes!!!

    Great... Thank you!!! :)
  22. Thread: bytes!!!

    by mathmari
    Replies
    2
    Views
    171

    bytes!!!

    Hello!!!I have a question... How many bytes has the array int b[5]={0,0,0,0,0}???

    My teacher said it has 18 bytes,but I think it has 10 bytes...
    Which answer is the right one???
  23. Replies
    0
    Views
    348

    Dijkstra's algorithm

    Hi!!!
    I need some help at the following exercise...
    We have a directed graph G=(V,E), where V={a,b,c,d,e}, E={(a,b),(a,e),(b,c),(c,d),(d,e),(e,c)} and their weights 1,2,2,-1,-1,3 respectively. Show...
  24. Replies
    7
    Views
    720

    Re: Bubble Sort-question

    :)
  25. Replies
    7
    Views
    720

    Re: Bubble Sort-question

    Because there is no a[10]!!!!
Results 1 to 25 of 45
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center