No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
i am new to c++ and wonder about how i create a file for example string flight; cin>>flight; flight=flight+".txt"; ofstream myfile; myfile.open(flight); instead of having a fixed name like myfile.open("file.txt") but it doesnt work , are there elegant solutions to this problem i have. all the help is appreciated.
i have following code, i am starting a college project and need help [CODE]#include "stdafx.h" #include <iostream> #include <string> using namespace std; class ba146{ private: int capacity; int totalSeatWindow; int totalSeatAisle; int totalSeatMiddle; public: string timeOfArrival; string timeOfDeparture; string departureCity; string arrivalCity; string flight; string seatType; int occupiedSeatWindow ; int …
Hello, I need help with a puzzle I am trying to make in assembly. the description is down below There is a famous puzzle invented in the 19th century which you may have seen, or indeed tried to solve. Imagine a tray consisting of 16 spaces arranged in four rows. …
I have an array of strings. I want to find an element of array How do I do that? Here is what I tried, it should print out anything but its still does. [CODE] .model small .stack .data goldenboard db "1$","2$","3$","4$","5$","6$","7$","8$","9$","A$","B$","C$","D$","E$","F$","_$" var db "1$" .code mov al,[goldenboard] mov bl,[var] cmp …
Hi I have to make a program to parse html document and check for broken links. I did the first part and now wondering is there a method or class that checks if the link is valid?if not I assumed I can construst a method myself, like get the response …
The End.
SmokyMo