Search Results

Showing results 1 to 40 of 61
Search took 0.01 seconds.
Search: Posts Made By: mrjoli021 ; Forum: C++ and child forums
Forum: C++ Mar 6th, 2008
Replies: 4
Views: 584
Posted By mrjoli021
sorry im new to the pointer thing. this is what I have
it is not working.


string subordanate()
{
string *words[];
words[] = {
"when",
...
Forum: C++ Mar 6th, 2008
Replies: 4
Views: 584
Posted By mrjoli021
I have an array that I need to make into an array of pointers and return the array.


string words[i] = {
"when",
"if",
...
Forum: C++ Mar 5th, 2008
Replies: 1
Solved: printing array
Views: 2,345
Posted By mrjoli021
I have some sentence fragments and some words. I need to print out sentence1 + word + sentence2 capitalize the first charater in sentence1. Then, sentence3 + word + sentence4 capitalize sentence
...
Forum: C++ Mar 5th, 2008
Replies: 3
Views: 1,995
Posted By mrjoli021
now i get "undefined reference to `Shuffle(std::string (*) [2])'
collect2: ld returned 1 exit status
"
but it seems to compile. I am using code blocks
Forum: C++ Mar 5th, 2008
Replies: 1
Views: 2,018
Posted By mrjoli021
I need to get a string array and add a random number to it then sort it. What is the easiest way of doing this. do I need to convert the last element which will be the random number to an int then...
Forum: C++ Mar 5th, 2008
Replies: 3
Views: 1,995
Posted By mrjoli021
I am tring to compile this simple string array. I am getting some struct error. "Cannot pass object of non-POD type in line 63. which is "printf("%14d%10d\n",array[i][1], array[i][0]);"

please...
Forum: C++ Mar 4th, 2008
Replies: 3
Views: 494
Posted By mrjoli021
right but I am not using int i am using an array. So what would the systax be

char array1[i][j] = rand () % i;

???
Forum: C++ Mar 4th, 2008
Replies: 3
Views: 494
Posted By mrjoli021
I have a couple of sentences in an array. I need to randomly display 1 of them. How can I do this?
Forum: C++ Mar 4th, 2008
Replies: 4
Views: 535
Posted By mrjoli021
go it working.

thanks
Forum: C++ Mar 4th, 2008
Replies: 4
Views: 535
Posted By mrjoli021
ok so now how do I print the entire sentence.


int i;

for (i = 0; i < FIindex; i++)
{
fragments[i][0] = toupper(fragments[i][0]);
std::cout << fragments << endl;
}
Forum: C++ Mar 4th, 2008
Replies: 4
Views: 535
Posted By mrjoli021
I have some sentences in a 2 dimensional char array. I need to change to first letter of each sentence to caps. I was thinking of removing the first char and placing it into 1 array and the rest of...
Forum: C++ Mar 4th, 2008
Replies: 1
Views: 814
Posted By mrjoli021
I have some sentences that I want to print out the first character of each sentence. when I print it out I get the first character many times. here is the code. I just want the first character of...
Forum: C++ Feb 23rd, 2008
Replies: 1
Solved: Atl/ Clr/ Mfc
Views: 821
Posted By mrjoli021
I am fairly new to c++. What is the diffrence between ATL, CLR, or MFC and for what are they used for.
Forum: C++ Feb 22nd, 2008
Replies: 3
Views: 817
Posted By mrjoli021
ok how do I go about doing this. I am fairly new to programing. is there a command to do this??
Forum: C++ Feb 22nd, 2008
Replies: 3
Views: 817
Posted By mrjoli021
I wrote a class and I want to give it to someone to use, but I dont want them to have access to the source code. My class is split into 2 files a .h and a .cpp how can I block them from seeing the...
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 854
Posted By mrjoli021
I was reading your previos post. I did not add the lines

#ifndef filename_h
#define filename_h
#endif

to any of the files how does that work. I think that is the problem.

can u please...
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 854
Posted By mrjoli021
Queen.h and Queen.cpp are included in the project. the .h in the header section the .cpp in the source section.
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 854
Posted By mrjoli021
this is the error I am getting:

Error 1 fatal error C1083: Cannot open include file: 'Queen.h': No such file or directory c:\Documents and Settings\jmartinez\My Documents\Visual Studio...
Forum: C++ Feb 21st, 2008
Replies: 10
Solved: class question
Views: 854
Posted By mrjoli021
I wrote a class in vs2008. I am creating a new project and I need to incoporate that class into it. How do I do that. I added the .h to the header section and the .cpp to the source file. In the...
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
// e-mail.h
#include "aosmtp.tlh"

class MyEmail
{
public:

//void SendEmail();

void MyEmail::Createfile();
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
but do I need to do it that way even though I have the namespace included??
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
without the test file it compiles fine
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
#include <comdef.h>
#include <iostream>
#include <fstream>
#include "aosmtp.tlh"
#include <string>
#include < sys/stat.h>
#include < io.h>

using namespace System;
using namespace std;
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
I created the class and I added another file called test. I want to use this to test it. I created it inside the same project.

I have email.h in "header files" and email.cpp in "source files" ...
Forum: C++ Feb 15th, 2008
Replies: 11
Views: 1,155
Posted By mrjoli021
I am getting the following error: I am using vs2008 and e-mail.h is included in the project

Error 1 error LNK2028: unresolved token (0A00004A) "public: void __thiscall MyEmail::Createfile(void)"...
Forum: C++ Feb 12th, 2008
Replies: 2
Views: 474
Posted By mrjoli021
yes e-mail.h is in the project.
I am using vs2008
Forum: C++ Feb 12th, 2008
Replies: 2
Views: 474
Posted By mrjoli021
I am getting this error when trying to complile the main program. the .cpp and the .h files compile fine, but not the main.

Error 1 error LNK2028: unresolved token (0A00004A) "public: void...
Forum: C++ Feb 8th, 2008
Replies: 5
Views: 1,522
Posted By mrjoli021
no the file does not exist. That's the problem. how do I create it.
Forum: C++ Feb 8th, 2008
Replies: 5
Views: 1,522
Posted By mrjoli021
I am running vs2008 I am creating a new c++ program. when I try to compile I get

"Error 1 general error c10100b1: Failed to load file "..\Debug\testing_email.exe". The system cannot find the path...
Forum: C++ Feb 7th, 2008
Replies: 4
Views: 652
Posted By mrjoli021
I am using c++ not php
Forum: C++ Feb 7th, 2008
Replies: 4
Views: 652
Posted By mrjoli021
Is there an e-mail class that I can use to be able to send e-mails. I dont need to send any attachments just text.
Forum: C++ Jan 17th, 2008
Replies: 3
api
Views: 620
Posted By mrjoli021
where do I get the manuals from. Does VS come with them?
Forum: C++ Jan 17th, 2008
Replies: 3
api
Views: 620
Posted By mrjoli021
api
Is there a tutorial on learning to work with api's. I am trying to automate a telnet connection to a router. I figured out how to telnet, but how to i type the commands inside the telnet session.
Forum: C++ Jan 7th, 2008
Replies: 3
Views: 2,320
Posted By mrjoli021
I cant get the program to compile
I am getting 'system': identifier not found
I have the following includes
#include "stdafx.h"
#include "Email.h"
#include <iostream>
#include <fstream>...
Forum: C++ Jan 7th, 2008
Replies: 2
Views: 6,183
Posted By mrjoli021
I figured it out. when you do a class library std is replaced by system.
Forum: C++ Jan 7th, 2008
Replies: 2
Views: 6,183
Posted By mrjoli021
I am having some isues adding std as a namespace. I am using vs2008. don't know if that has something to do with it.


#pragma once

//using namespace System;
using namespace std;
...
Forum: C++ Jan 7th, 2008
Replies: 6
Views: 1,814
Posted By mrjoli021
i have used std before. I am using vs2008 did they change the name to something else or do I need any includes that are missing.
Forum: C++ Jan 7th, 2008
Replies: 6
Views: 1,814
Posted By mrjoli021
This is what I get:

error C2871: 'std' : a namespace with this name does not exist
Forum: C++ Jan 7th, 2008
Replies: 6
Views: 1,814
Posted By mrjoli021
cool that worked now when I do:

system("telnet 192.168.1.1");

I get the same thing.
Forum: C++ Jan 7th, 2008
Replies: 6
Views: 1,814
Posted By mrjoli021
I am new to c++ classes. I am trying to write a simple e-mail class. below is my .h file. In the cpp all I have is the main which is empty right now since it wont even compile. I am getting cout...
Showing results 1 to 40 of 61

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC