First of all, just registered and this forum looks great! PROBLEM: My program which I wrote in Code::Blocks, has compiled fine and has worked fine, but when I run the outputted file called (BINDED.exe) it shows a very quick console window then closes, I think this is due to the fact I may have corrupted the data. It takes 2 files, reads them both into 2 separate buffers (first one my RAT server) and creates a new .exe. It makes sure it's at the beginning, then puts the stub source in first, [b][u]THEN[/u][/b] puts the RAT server contents, after the …

Member Avatar
Member Avatar
+0 forum 6

Hi i need a little help. i want to read a multi array from a file but code blocks said a lots of error and i dont know whats the problem. can u help me? [ICODE]#include <iostream> #include <cstdlib> #include <math.h> #include <fstream> #include <sstream> using namespace std; int maxn=100; int maxm=100; void beolv(string filename, int &n, int &m, int x[maxn][maxm]) { //fájl megnyitása ifstream fin(filename.c_str(), ios::in); fin >> n; fin >> m; for (int i=0; i<n; i++) { for (int j=0; j<m; j++) { fin >> x[i][j]; } } fin.close(); } int main() { int n; int m; int …

Member Avatar
Member Avatar
+0 forum 2

hey all.. I'm [U]new[/U] to VB.net and i wanted to find out how i could load the names of files(in a specified dir) into a combobox? I knw i should have posted code..but i only have an idea as to what should happen. correct me where i'm wrong. 1. get the number of files in specified dir 2. add names of files as items in combobox (using a loop structure) 3. when an item is selected. display the contents in a textbox my idea in [U]pseudocode[/U]: [INDENT] [I] for counter = 0 to numberOfFiles combobox.add(fileName) next if (combobox.selectedItem = fileName) …

Member Avatar
Member Avatar
+0 forum 2

Hi, this is a clue game in prolog. [B][U]I'm posting it to thank everyone that takes the time to post and help people, like me.[/U][/B] The program is spanish, cause in from México, but it's a clue game. Features: Write and read *.txt files, and use their content to compare data in the input stream. Generate random variables. "If.. then.." prolog structures Fully functional, I recommend you to use GProlog, I haven't tetsed it in SWI-PROLOG [B]Hope helps somebody and if you like, you're welcome to improve it or modify it ONLY under GPL Licence 3.0 or later. [/B] User …

Member Avatar
+0 forum 0

The End.