No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
A reta... well educated student from small Norway struggling to gain computer-knowledge.
- Interests
- Computers, the guitar and tabletennis.
- PC Specs
- Intel core 2 duo E4300 3,1Ghz 2gb 900mhz RAM Nvidia Geforce 8800 GTS A very very very nice case
8 Posted Topics
Hey! :) I found the functions in the chilkat-library usefull, so i downloaded it. If you havn't figured it out yet, I use the programming language C++ and i use the visual studio express IDE. What I do, is: 1: Save the chilkat-folders at the HDD. 2: Open Project/solutions-settings and … | |
Hi! I have this function (well, it's pretty good explained in the code-tag, but okay.) which is supposed to see if a string is found first in a line in a text file. Anyway, this code gives the message (while running in debug mode in MSVC++): "Debug assertion failed. Expression: … | |
Re: I don't think I really understand. Is it? How could for example the array be? Will the user enter the coordinates for the numbers they're targeting? So they could for example enter "1,4" and "3,4", and then the program have to find out if char[1][4] and char[3][4] is equal? How … | |
Re: Well, without testing, I think this would give you the day: [code=c++] #include <stdio.h> #include <time.h> int main() { SYSTEMTIME st; GetSystemTime(&st); return 0; }[/code] Now, st.wday() would be the day. Just test it out to see what format it's in. Someone else should help with the deleting. PS: I … | |
Hello! Is there any way that I could create a loop that will user the content from a text-file and the number of lines? I want to go through a file and look for something, and then I need to use line by line, not char by char. Maybe the … | |
Hello! :) I'm having some trouble including header files in my project. This is my three files: main.cpp: [code=c++] #include <iostream> #include <string> #include "functions.h" using namespace std; int main() {}[/code] functions.h: [code=c++] #include <iostream> #include <string> using namespace std; void functionSplit(string str);[/code] functions.cpp: [code=c++] #include "functions.h" using namespace std; … | |
Hello! I have a string which may look like this: (arne kristoffer)(1231232)(12.12.12)(asdasdf 12) This is just an silly example, but never mind. THe point is that i need to seperate the contents of the string into a string vector. This is my code (which of course doesn't work, if it … | |
Hello! :) I'm having a problem while comparing one character from a string with a ... string. This is a part of a pretty complex loop (or, it's complex for me, since I'm new to C++ and programming), but the case is that I need to compare the value of … |
The End.