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

Search:

Type: Posts; User: Guidosoft

Page 1 of 5 1 2 3 4

Search: Search took 0.04 seconds.

  1. Memory Mapped File Performance Question (Urgent Answer Needed)

    I would just like to know if it would be inefficient if I created a hundred or more view streams or view accessors from a Memory Mapped File object per process, and I had a few or more processes...
  2. Replies
    4
    Views
    904

    Re: Is this class efficient enough?

    Okay, thanks for the response. So, I don't have the full version of Visual Studio on my personal machine. I'm guessing that would have the tools I need for analyzing my code.

    I did, however, find...
  3. Replies
    4
    Views
    904

    Is this class efficient enough?

    I am working on a class library, and I have started with this one class called TextTraverser. It's purpose is to allow me to take either a StreamReader or StringReader and read through it back and...
  4. Replies
    3
    Views
    7,064

    Re: Convert csv to pipe delimited text

    Converting a CSV file into a pipe delineated file should be simple and easy. The way I would approach is to write a lexer and parser for the csv file, process it into records, and then output those...
  5. Replies
    2
    Views
    3,425

    [RESOLVED] Writing Fail-Safe Code

    Okay, this is going to be a very embarrassing question for me, but I nonetheless need to adopt the best practices for writing code.

    I need to know what is the best way of keeping my code from...
  6. Replies
    1
    Views
    1,106

    Writing an article on code guru.

    Hey,

    I was thinking of writing an article for code guru whenever I have something of worth to contribute. The only problem is I am not sure about the appropriate structure of these articles, or...
  7. Replies
    4
    Views
    2,191

    Re: Error Handling Strategies

    Alright, thanks for the information about exception handling.

    One problem I have though, is knowing the appropriate scenario for throwing an exception. From what I've gathered from this thread,...
  8. Replies
    4
    Views
    2,191

    Error Handling Strategies

    From what I understand, exceptions are very slow and are not useful for returning error information repeatedly in a loop, but most class methods in Microsoft’s APIs make great use of exceptions, to...
  9. Replies
    3
    Views
    5,700

    Re: Interprocess communication

    Thanks for your comments.

    My code actually does handle all the windows messages in a separate thread so you don't have to. All you have to do is read and write to connection objects.

    Also, I've...
  10. Replies
    3
    Views
    5,700

    Interprocess communication

    I wanted to implement interprocess communication without using named pipes, without using memory mapped files, without using sockets. I wanted to implement my own method of communication between...
  11. Replies
    1
    Views
    5,247

    Menu and Content not working.

    I'm new to WPF. I've just been trying to put a menu bar and a grid object in a window, but I always get the exception that I am trying to set a content property more than once. I can't figure out how...
  12. Replies
    0
    Views
    756

    Problem with Dynamic Lexer

    http://pastie.org/private/evhyiniur0li6oqnaroa

    I know full well that if one is to write a compiler or script interpreter, or any application that needs to process text, it is best to use an...
  13. Hiding messages in plain text, and a decoder to reveal it.

    I've created a simple program that decodes plain text into a hidden message. If you'd kindly bear with me, I'd like you to read through this text, and then follow the link to code. I ask you to asses...
  14. Classes that Generate Fluent and Nonsensical Poetry.

    http://gist.github.com/347070

    I've managed to write a simple set of classes that facilitate generating verse in iambic patameter. All the the output will flow perfectly, but unfortunately none of...
  15. Replies
    2
    Views
    722

    I just don't see the point anymore.

    When I first got excited about C++ and the power it could give me, I immediately abandoned Visual Basic and learned a decent amount of WINAPI. I still feel some kind of fun for WINAPI, but I don't...
  16. Window Creation Failure (Can't seem to find the problem)

    I've just recently returned to WINAPI programming in C++, but now in Vista. I'm having a problem creating a window. According to GetLastError() windows cannot find the class. Clearly the class has...
  17. Loading external modules written in Java.

    In other languages like C++, it is possible to write libraries that can be loaded and unloaded at runtime, making it possible to add functionality to the program merely by placing third party modules...
  18. Replies
    4
    Views
    1,415

    No explicit loop necessary?

    From my knowledge of C++ applications, once a window is created, it is necessary to perform a continual loop to check for windows messages. If no loop is executed, the program exits. Why do Java...
  19. Replies
    2
    Views
    1,146

    Getting a job

    Over the past few months, I have been thinking about going to college, such as Pensacola Christian College or NJIT, to earn a degree in computer science and software engineering. I want to earn a...
  20. Replies
    3
    Views
    616

    Re: Writting Compilers and Interpreters

    Thanks, but are there any free online resources?
  21. Replies
    3
    Views
    616

    Writting Compilers and Interpreters

    I am currently interested in creating my own programming or scripting language, but I am unaware of any resources that would allow me how to learn this skill. Does anyone know of any step by step...
  22. Replies
    15
    Views
    1,395

    Re: Need a text class.

    What about string::data()? What does that do?
  23. Replies
    15
    Views
    1,395

    Re: Need a text class.

    Is there a way that I can put null characters in the string and retrieve the data in a buffer?
  24. Replies
    15
    Views
    1,395

    Need a text class.

    I require a class with top of the line text manipulation. I am not refering to a string class, something which is terminated by a null character, but a text class. The size of the text would not be a...
  25. Replies
    2
    Views
    711

    Help with the heap

    I have written two classes: GHeap_Block and GHeap, in which I assuage the task of handling heaps. One of the GHeap constructors enables the creation of an ever-growing heap. Whenever the number of...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured