No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I have this huge problem. I'm supposed to make a LISP interpreter in C++ but I have absolutely no idea what the programm should look like. So far I have a parser, which splits input string into the list of smaller strings (words, brackets). Could anyone give me a … |
|
I have 2D char array, dynamically allocated (using malloc). I need to add another line to it but I have no idea how to use realloc with 2D arrays. I have this: [CODE]res = (char **) malloc(1 * sizeof (char*)); for (i = 0; i < 1; i++) { res[i] … |
|
I'm supposed to write a program that will search for longest common substrings in two strings of DNA. Our hint was to look on wikipedia ([URL="http://en.wikipedia.org/wiki/Longest_common_substring_problem#Dynamic_programming"]http://en.wikipedia.org/wiki/Longest_common_substring_problem#Dynamic_programming[/URL]). I did that and I understand the principle of comparing two strings. I'm currently facing two problems. First one is array allocation. When I … |
|
Re:
I have a project where I need to add binary numbers using C language. I don't know where to start. Help? |