• Member Avatar for Maritimo
    Maritimo

    Began Watching c++ programs

    does anybody know how to make programs in c++
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in c++ programs

    May be, may be not :-)
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Serialization Realtime example

    Hi all, I understand the concept of Serialization but,want to know 1.when we use this in realtime? and 2.under what situations we can use this? I tried to google but …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Serialization Realtime example

    See http://www.parashift.com/c++-faq/serialization.html There, it is defined as: Serialization lets you take an object or group of objects, put them on a disk or send them through a wire or wireless …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching how do the uppercase and lowercase?

    i did these function for uppercase: string Upper(string text) { string result; result.resize(text.size()); for(int i=0; i<text.size(); i++) { if(text[i]>96 && text[i]<123) result[i]= text[i]-32; result[i]=text[i]; } return result; } but i'm …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in how do the uppercase and lowercase?

    I recomend you to use the function `int toupper( int ch )` defined in header `<cctype>`
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching program of c++

    pls i ask a some quistion help me write a progam that display pakistan 10 time by using for loop
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching counting numbers

    Is it possible to solve this problem in c++? Write a program that counts the numbers from 3 to 117. But for multiples of three add 3 instead of 1 …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Asterisk pattern problem

    ***** **** *** ** * Can someone help me with this ^ pattern above? I only can do this one below *** ** *
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Asterisk pattern problem

    Consider you have a counter (c) that goes from 1 to 5. The number of stars you what to print is `s = 6-c`. In this way, when c values …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching program of c++

    pls i ask a some quistion help me write a progam that display pakistan 10 time by using for loop
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in program of c++

    A for that do something 10 times can be written like this: for(int i=1; i<=10; ++i) { //... }
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in asking question about c++

    You asked for an example! Consider you have the classes `Widget` and `SpecialWidget` using simply inheritance like: class Widget { /*...*/ }; and class SpecialWidget: public Widget { /*...*/ }; …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching asking question about c++

    what are the disadvantage of multiple inheritance?
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in asking question about c++

    The disadvantage of multiple inheritance is that for using it you need to know more than for not using it. However, if you know how to use it, it is …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching counting numbers

    Is it possible to solve this problem in c++? Write a program that counts the numbers from 3 to 117. But for multiples of three add 3 instead of 1 …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in counting numbers

    Yes, it is perfectly possible to solve that problem in C++.
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Queue in a shallow form Please write a better code

    PLease write a better code which is rather advance form using #include<queue> && #include<list> #include<iostream> #include<conio.h> #include <iomanip.h> using namespace std; const int size=20; // Patient Class class Patient { …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching C++ Problem

    How to solve this problem? I'm getting tired thinking abou this. Help me. Write a C++ program to help the master reporter of a traffic centre to analyse the amount …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Matrix Inversion

    Matrix inverse and lu decomposition using link list
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching error 2451

    and i get error with error C2451: conditional expression of type 'std::basic_string<_Elem,_Traits,_Ax>' is illegal void system1::search() { cout<<"Enter ID to be Searched: "; int data_search; cin>>data_search; nodetype *current = head; …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching C beginner book for Python programmers

    What's a good book to learn C if you already know Python and are comfortable with computer science terminology? I'd like a book that is downloadable as a .pdf free …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in sorting linked list alphabitecally

    Try to use `std::sort` with `std:list` ;-) timnased didn't said this was a homework, he just said he is making a phonebook program.
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Difference between thread-safe and reentrant?

    I am damn confused between these two terms. Can anyone explain this using some example? Thanks in advance.
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Difference between thread-safe and reentrant?

    This link [Stackoverflow](http://stackoverflow.com/questions/2799023/what-exactly-is-a-reentrant-function) can give you more information.
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Reading words from text

    This what I'm trying to do: Type two or more lines of text into a file. Write a program to open the file, reading each word into a vector<string> object. …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Reading words from text

    Replace `strVec.push_back(getline(about));` with `strVec.push_back(getline(infile));` Then show the vector `strVec` Then sort the vector `strVec` Finally show again the vector `strVec`
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Google Translate/Bing Translator in C

    There is any way to create a program in C which will be able to translate words using google translate or bing translator? I've already downloaded curl library (Ubuntu 14.04), …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Google Translate/Bing Translator in C

    I think that rubberman has been a little exagerated because this is neither for a PhD nor even Master but he is right in that this is very difficult for …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Operating system concept problem

    **With a 2^32 address space and 4K ( 2^12 ) page sizes, this leave 2^20 entries in the page table. At 4 bytes per entry, this amounts to a 4 …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Operating system concept problem

    The memory is measured in bytes. 1k bytes are 1024 bytes (not 1000 bytes). This is because the memory space is expresed in powers of two: 2^0=1 2^1=2 2^2=4 2^3=8 …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching sorting linked list alphabitecally

    hello. I have to use a function in my phonebook program to sort the names alphabitcally here is what i have done so far.but what's wrong with it? void showAllContacts() …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in sorting linked list alphabitecally

    Try to use `std::sort`.
  • Member Avatar for Maritimo
    Maritimo

    Began Watching error 2451

    and i get error with error C2451: conditional expression of type 'std::basic_string<_Elem,_Traits,_Ax>' is illegal void system1::search() { cout<<"Enter ID to be Searched: "; int data_search; cin>>data_search; nodetype *current = head; …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in error 2451

    `data_search` is an integer. But is `current->ID` also an integer? It seems that `current->ID` is a `string`. Probably you can use `std::stoi(current->ID)` to solve the problem.
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Measuring Average Height in C++

    brushing Up the practise of class and its implimentation #include<iostream> #include<stdlib.h> #include<conio.h> #include<string> #include<Windows.h> using namespace std; class Student{ private: int ID; string IDch; string name; public: Student(){ int ID …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Function Example to I/O strings

    A simple function #include<iostream> #include<string> #include<conio.h> #include<stdlib.h> using namespace std; class name{ //******************************* private: string fName; string mName; string lName; int ppl; //******************************* public: int getPpl(){return ppl;} void setPpl(int ppl){this->ppl=ppl;} …
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Function Example to I/O strings

    A simple function #include<iostream> #include<string> #include<conio.h> #include<stdlib.h> using namespace std; class name{ //******************************* private: string fName; string mName; string lName; int ppl; //******************************* public: int getPpl(){return ppl;} void setPpl(int ppl){this->ppl=ppl;} …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Function Example to I/O strings

    What is your question?
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Random array filling of airline seating assignment!

    int firstarray[12][7] = { }; double firstClass(int airplane, int seats, double price) {cout<<setw(60)<<"---------------------... cout<<setw(60)<<"You are in **first class** booking screen\n"; cout<<setw(60)<<"----------------------... cout<<"\n"; cout<<"How many seats would you like to book …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Random array filling of airline seating assignment!

    Daniweb is not a homework service. Please provide evidence that you've attempted a solution on your own, as per our rules.
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Matrix Inversion

    Matrix inverse and lu decomposition using link list
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Matrix Inversion

    Daniweb is not a homework service. Please provide evidence that you've attempted a solution on your own.
  • Member Avatar for Maritimo
    Maritimo

    Began Watching Measuring Average Height in C++

    brushing Up the practise of class and its implimentation #include<iostream> #include<stdlib.h> #include<conio.h> #include<string> #include<Windows.h> using namespace std; class Student{ private: int ID; string IDch; string name; public: Student(){ int ID …
  • Member Avatar for Maritimo
    Maritimo

    Replied To a Post in Measuring Average Height in C++

    What is your question?
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Random data generator

    How to make a random data generator in c++?
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching Need help

    Reading Stroustrup: Programming -- Principles and Practice Using C++, chapter 4, exercise 4: "Write a program to play a numbers guessing game. The user thinks of a number between 1 …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching How to find zero used in given number?

    Sample output: Please enter a number(Less than 8 digits): 1203021 how can I sure only 8 digits key in and how to count the zero inside the given number. Please …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching How to delete column in 2d vector, c++

    Dear all, If i have a vector inside a vector creating a matrix, how do I delete a specific column in that matrix. I have already populated the 2d vector …
  • Member Avatar for Maritimo
    Maritimo

    Stopped Watching read from file - and write to another

    Hey, I know how to read from file.. I would to save it and send it to another function that can print it out that is in a different c …

The End.