Click here to Skip to main content
16,004,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet Time Function Pin
bugDanny17-Jun-05 7:14
bugDanny17-Jun-05 7:14 
GeneralRe: Get Time Function Pin
David Crow17-Jun-05 7:20
David Crow17-Jun-05 7:20 
GeneralQuestion for jpeg.lib users Pin
ryuki17-Jun-05 6:48
ryuki17-Jun-05 6:48 
GeneralRe: Question for jpeg.lib users Pin
JWood17-Jun-05 7:01
JWood17-Jun-05 7:01 
GeneralAnswer found Pin
ryuki17-Jun-05 11:30
ryuki17-Jun-05 11:30 
QuestionCan any help me in this simple proplem? Pin
kosamoza17-Jun-05 6:46
kosamoza17-Jun-05 6:46 
AnswerRe: Can any help me in this simple proplem? Pin
JWood17-Jun-05 6:54
JWood17-Jun-05 6:54 
AnswerRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 7:16
David Crow17-Jun-05 7:16 
It looks like you need to include some spaces in the output.

BTW, your post would be much more readable if it looked like:

ofstream out("Matrices");
if (! out)
{
    cout << "cannot open file." << endl;
    return 1;
}
 
for (int i = 0; i < row1; i++)
{
    for(int j = 0; j < col1; j++)
        out << mat1[i][j];
}
 
out << " *";
 
for (int w = 0; w < row2; w++)
{
    for (int e = 0; e < col2; e++)
        out << mat2[w][e];
}
 
out << "=";
 
for (int u = 0; u < row1; u++)
{
    for (int v = 0; v < col2; v++)
        out << mat[u][v];
}
 
out.close();
I suspect you are getting compiler errors from the bold lines. out should be cout instead.


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: Can any help me in this simple proplem? Pin
kosamoza17-Jun-05 10:48
kosamoza17-Jun-05 10:48 
GeneralRe: Can any help me in this simple proplem? Pin
David Crow17-Jun-05 17:18
David Crow17-Jun-05 17:18 
Generalconversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 6:19
Bugslayer117-Jun-05 6:19 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 6:24
David Crow17-Jun-05 6:24 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 6:57
Bugslayer117-Jun-05 6:57 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 7:07
David Crow17-Jun-05 7:07 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 7:15
Bugslayer117-Jun-05 7:15 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 7:18
David Crow17-Jun-05 7:18 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer117-Jun-05 7:36
Bugslayer117-Jun-05 7:36 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow17-Jun-05 8:03
David Crow17-Jun-05 8:03 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer120-Jun-05 5:53
Bugslayer120-Jun-05 5:53 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow20-Jun-05 6:06
David Crow20-Jun-05 6:06 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bugslayer120-Jun-05 6:09
Bugslayer120-Jun-05 6:09 
GeneralRe: conversion of unix codes to VC++ codes Pin
David Crow20-Jun-05 6:15
David Crow20-Jun-05 6:15 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bob Stanneveld17-Jun-05 10:36
Bob Stanneveld17-Jun-05 10:36 
GeneralRe: conversion of unix codes to VC++ codes Pin
Bob Stanneveld17-Jun-05 10:32
Bob Stanneveld17-Jun-05 10:32 
Generalexcel chart Pin
Anonymous17-Jun-05 6:00
Anonymous17-Jun-05 6:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.