- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
Re: Have you tried escaping spaces using a singular? [CODE]String cmd = "espeak -s 50 \"A\ for\ apple\"";[/CODE] I would think that using \\ would print a literal \. | |
Re: You could use top in Linux. prstat in Solaris - I think this can take a pid as an argument. ps in Linux as well. You can sort information based on columns and/or grep for a particular pid or process name. | |
Hello. This is my first posting so I will try to be as detailed and clear as possible. I am running into a problem with a method returning an incorrect value and I can't quite seem to figure out why. I'm building a Rolodex which is really just an object … | |
Re: a copy ctor takes an argument of the same type. So for example, say you have a Date object/class: [CODE] Date { public: Date(); // default ctor Date(const Date&) // copy ctor ... private: int day, month, year; } // Defines Date default ctor Date::Date(){ int day = 0; int … | |
Re: You could use ifstream to open the text file for reading. From there, you use a loop with !filehandle.eof() as your condition to call getline for each line in the file as a string. From there, you could split the string into substrings using stringstream and read each value delimited … | |
Re: I got it to print "Text" to the screen using this code: [CODE]#pragma once #include <iostream> #include <string> using namespace std; class Pib{ public: void echo (int Text); void test(void); }; void Pib::echo(int Text){ printf("Haha: "+Text); }; void Pib::test(void){ cout<<"Text"; };[/CODE] [CODE]#include "Pib.h" #include <iostream> #include <string> int main(){ string … | |
Re: [QUOTE=vinaykumarr84;1167891]why should we partition for linux os. hw to partition for linux os to install the os[/QUOTE] Well, Linux installs, as far as I'm aware, aren't capable of residing on partitions that have a native Solaris disk layout, or FAT32 disk layout. I could be wrong on this though. Linux … | |
Re: Is your machine able to obtain an IP? (verify via ifconfig). Does your machine have the ability to route outside of it's current network? (use netstat -r to view routing table). Does your machine have the ability to resolve DNS hostnames? (use nslookup or dig). Those three things are key. … |
The End.