otengkwaku 30 Newbie Poster

Ok thanks. I will search around to see if i can get one (utility for adding files to a solution automatical) if not i will try and see if i can make one. what do you thing?

"like a boss" you are indeed a boss, deceptikon by the way why do you use the name deceptikon?

otengkwaku 30 Newbie Poster

Hi guys i know that in linux you create a c file and use make or gcc or clang to compile it and then run it.
My question is how do you run a c file or c++ file in vs2012 with out creating a solution.
Also how do you creat a solution for ready created scoure codes

otengkwaku 30 Newbie Poster

I want to do and internet radio and i need someone to point me in the right direction
that is, what technologies to use and also useful links and book. thank you

otengkwaku 30 Newbie Poster

thanks bro you are a dearling

otengkwaku 30 Newbie Poster
result = ''
for i in userID:
    if i.upper() in userNAME:
        result += i.upper()
    else:
        result += i

This will work and i belive it is easy to understand. Let us know what happens ok.

otengkwaku 30 Newbie Poster

ok ok os is not about trying to make a new game but trying to rebuild the one you love. I think is a good idea, why didn't i thing of this, thanks very much

otengkwaku 30 Newbie Poster
#ifndef HEADER_IOSTREAM_H
#define HEADER_IOSTREAM_H

#include <iostream>
using namespace std; 
#endif
// included the top so as to be able to use
// iostream.h
#define CF 0.15
#define DF 0.10
#define LB 5.00
#define OD 10.00


float L_balance = 0;// To store the end balance
float T_service = 0; // To store the total service charge
int main ()
{

    float b, a;
    char t;
    cout<<"\nWelcome To Mike's Banking";
    cout<<"\nChoose C for withdrawal";
    cout<<"\nChose D for deposit";
    cout<<"\nChoose E for end of input";
    cout<<"\n\nWhat's Your Current Balance: ";
    cin>>b;
    while (true)
    {
        cout<<"\nWhat Transaction Do You Want To Do: ";
        /* creating infinit loop
        for (i=0; i>2; i++)
        {*/
            cin>>t;
        //}

        if (t == 'C')
        {

            cout<<"\nYour Current Account Balance Is: "<<(b - L_balance - T_service);
            cout<<"\nYou Have Chosen To Withdraw Money";
            if (b < 0)
            {
                cout<<"There's An Overdrawn balance fee for $10.00\n";
            }

            if (b < 500)
                cout<<"There's A Low Balance Fee $For 500.00\n";

            if (b < 50)
                cout<<"Your Balance Is Below 50 Dollars\n";

            cout<<"\nWhat's The Amount You Want To Withdraw: ";
            cin>>a;
            L_balance += a;
            cout<<"\nYour Check Fee Is $0.15\n";
            T_service += 0.15;
        }
        else if (t == 'D')
        {
            cout<<"\nYour Current Account Balance Is: "<<(b - L_balance - T_service);
            cout<<"\nYou Have Chosen To Deposit Money";
            cout<<"\nWhat's The Amount You Want To Deposit: ";
            cin>>a;
            cout<<"\nYour Deposit Fee Is $0.10\n";

            T_service += .10;

            if (b < 50)
                cout<<"Your Balance Is Below 50 Dollars\n";

        }
        else if (t == 'E')
        {

            cout<<"\nYou Have Chosen to end the transaction"; …
otengkwaku 30 Newbie Poster

i don't realy get your question but i thing this can do.
first creat a loping contract that loop over the individual letter in the string using

    for i in userID
       """ code here""" 

than use i.upper() to change the letter you want to upper.
By the way there are more effecient ways of doing this but for learning perposes you can try this

otengkwaku 30 Newbie Poster

i want to make it for the android phone. The thing is i don't willy want to make a game that will be sold, although that will be a plus, the real motivation is i want to try my hands on making a game as a way of learning. I hope you get me @MICHAEL. Thanks very much

otengkwaku 30 Newbie Poster

i want you guys to give me an idea for a game, thus if you will like a game for your phone this 2013 what game will it be and how will it be like.
i want to try my hands on game making but i can't seem to get an idea.
you can also link me to some resouces that can help thank

otengkwaku 30 Newbie Poster

@ketsuekiame hahaha sorry to hear that but i hope you are now on top of it

otengkwaku 30 Newbie Poster

@ketsuekiame we are waiting to see your avatar, love you

otengkwaku 30 Newbie Poster

ok ok ok thanks a lot
question solved

otengkwaku 30 Newbie Poster

since the problem is solve pls mark it as solved

otengkwaku 30 Newbie Poster

ok i will

otengkwaku 30 Newbie Poster

so if i get you, they are all array notation but char** val is implicite and
char* val[] is explicite
because i just noticed that using int main (int argv, char** argc) worked the same way as int main (int argv, char* argc[])

otengkwaku 30 Newbie Poster

I have been around not very long. I learn pretty much every thing i know
about programing form the web and sites like daniweb helped a lot.

comparing a site like daniweb and an other popular site stack overflow ...
I will pick daniweb any day. for two main reason.

  1. Daniweb is newbies friendly. that is to say, you can ask all the stupide question and
    get someone help you arrive at the right question and the right answer.

  2. The people at Daniweb are welcoming and ready to help at any time. althought it takes some time to get your post answers compared to stack overflow. The help you get form Daniweb is more simple and explaning more so as to help you learn, Daniweb is a LEARNING TOOL and i hope it will not be changed "by people who think they KNOW AND SO SOME QUESTION SHOULD NOT BE ASKED".

DANIWEB God bless you.
... so how is the founder of daniweb? .. I hope she is fine
Who realy know her. I realy want to know her because she is an inspiration.
Dose she have a biography, if not, i think she should write one.
BY THE WAY LET AS HELP THIS SITE AS MUCH AS WE CAN

otengkwaku 30 Newbie Poster

is char** val the same as char* val[ ] when is the formal ( char** val) used

otengkwaku 30 Newbie Poster

ok i know who DaniWeb is, she is Dani, right...
I love you for this site.
You are an inspiration.

otengkwaku 30 Newbie Poster

I have been around not very long. I learn pretty much every thing i know
about programing form the web and sites like daniweb helped a lot.

comparing a site like daniweb and an other popular site stack overflow ...
I will pick daniweb any day. for two main reason.

  1. Daniweb is newbies friendly. that is to say, you can ask all the stupide question and
    get someone help you arrive at the right question and the right answer.

  2. The people at Daniweb are welcoming and ready to help at any time. althought it takes some time
    to get your post answers compared to stack overflow. The help you get form Daniweb is more simple and explanin
    more so as to help you learn, Daniweb is a learning tool and i hope it will not be changed "by people who
    think they KNOW and forget some of as are now learning.

DANIWEB God bless you.
... so how is the founder of daniweb?

otengkwaku 30 Newbie Poster

if i understand you correctly, you have files, test1.data1 in directory test1 and test2.data2 in directory test2, you want to copy the items in the files to test3.data3 in directory test3 and test4.data4 to directory test4 if so then the following code should help

filename = raw_input('enter the input file name: ') # get the name of the file
filename = str(filename) # save the name of the file at a string 
_dir = 'test' # the basic directory name 

count = 1 # a variable to help you count 

while count < 3: # to have sure that the whole process goes 2 rounds 

# get the directory and copy the file into memory 
    f = file(_dir + str(count) + '/'+ filename + str(count) +'.data' + str(count), 'r')

# read the content of the file into x
    x = f.read()
    f.close() # close the file

    f = file(_dir + str((count + 2)) + '/'+ filename + str((count + 2)) +'.data' + str((count + 2)), 'w')
    f.write(x)
    f.close()

    this code was writen with python 2.7
otengkwaku 30 Newbie Poster

your question is not meaningful. what project do you intend to do? try out the project when you get stack them you let us know so we can help you

otengkwaku 30 Newbie Poster

@jville kip, i know it can be very deficulte when staring out with progarming but the fact is you will never know ontill you try.

we are here to help you but not to spoon feed you or do your work for you.

otengkwaku 30 Newbie Poster

but should the code on the whole work?
when i run the code with a deffrent url it gives me the error

<b>Notice</b>:  Undefined index: https://www.google.com in <b>C:\Users\spirit\Documents\xampp\htdocs\News-Reader-Code\news-web-code\bridge2.php</b> on line <b>4</b><br />
otengkwaku 30 Newbie Poster

sorry for that it is realy $val = $_GET["fwd"]

the posted code is to get the content of a web site and save it in a file

otengkwaku 30 Newbie Poster
<?php  
  header('Content-Type: application/xml');  
  $tmpFile = 'tmpFile.txt';  
  $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; 
  echo ($val); 
  $curlHandle = curl_init($val);  
  $filePointer = fopen($tmpFile, "w");  
  curl_setopt($curlHandle, CURLOPT_FILE, $filePointer);  
  curl_exec($curlHandle);  
  curl_close($curlHandle);  
  fclose($filePointer);  
  $linesArr = file($tmpFile);  
  foreach($linesArr as $eachLine){  
    echo($eachLine);  
  }  
?>

I don't know why this code is not working. Can someone help me

otengkwaku 30 Newbie Poster

@ EvolutionFallen so the solution is to declear the i outside the function.
by the way thanks for the typo correction

otengkwaku 30 Newbie Poster

i am sorry if i offended you. i was just trying to help. but if you need more help let me know. we are all learning.

otengkwaku 30 Newbie Poster

@ i get you Taywin. i thing his function is not working becasue of the form. you must refreen you form tag's name. that is (form tag's name).parentNode.appendChild(iframe)
i am right @ Taywin

otengkwaku 30 Newbie Poster

@evollutionfalling; can you use arrys to make the jod esaly

otengkwaku 30 Newbie Poster

i have answer one of your question on the same site. my point of view is that (i may be wrong) you site is poorly designed and i thing you should do it again if you like you can send me your socure codes and i will do it for you for free. just compress it and send it to me trough my mail

otengkwaku 30 Newbie Poster

use google to search for hotels near you

otengkwaku 30 Newbie Poster

put the images to be loaded into a folder in the same directory as your html file called images, than try
<img class = "logo" alt="logo" width="150" height="150" style = "boder: 0px" src ="images/LFHS.jpg">

otengkwaku 30 Newbie Poster

if i understand your code you want to add iframe to an exsiting form. if that is so
than try this. if it work tell me
var useform = document.getElementById("your forms id");
before you can use the useform

otengkwaku 30 Newbie Poster

frist of all remove the div with the clearfooter class. after that remove the height atribue in the css and give it an auto value.
this will solve the problem but if you want to still keep the clearfooter div than you will have to remove the side-content div form any other divs and place it in the main container div and given it a height value of auto; this will also meain chaning the width of all the other divs. let me know if it works

otengkwaku 30 Newbie Poster

ok i get you. if you seed the repairing windows sreen it means that something has gone on with you os.
so let do some troubleshooting. first find a hard disk you know is working or a new one insect it into the laptop and install windows on it (the process in on google search for it). after that it should work if not let me know go we go onto the next step

otengkwaku 30 Newbie Poster

try this

function nxtimg(contry){
    document.getElementById("imgcou").src = \""images/" +country +"/" + imgs[i] + ".jpg"\";
    i++;
}

but i don't realy understand your code. what is the use of imgs[i].
if the onclick is trigered and the code runs. i will be incread and then the code exit. there must be a way of passing the new value of i but into the code. if i know the meaning of imgs[i] i will be able to help you more.

otengkwaku 30 Newbie Poster

there is nothing much you can do. onless you hack into their system and unblock it. which i thing is imposible or almost imposible. there is how ever a solusion just change them. use another servers provider

otengkwaku 30 Newbie Poster

hi, well i can say i am like you sungod000. i also have the mind of a programmer by the experance of a teacher. the thing about learing how to programme is programme is like humane language. you need to be able to follow it before you can understand it. i am agraphic designer not becuase some one taught me but becuase i decided to do it my self. i needed a sign board so i downloaded coreldraw and started doing it it took me about a week but i did it. i have learnt some many things not by starting to read but by trying to complising a task. for example i was there on day and i decided to print a design in my tee shirt. so read some tutorals on it and i started experementing it cost me 20 tee shirt but i was able to do it and i now do it for institutions. i have just funished learning html and i an currently learning javascript but i can do websites and i have started doing some for people. you learn best when you want to achive some thing. if you are realy intered in making money you can come to my cuntry Ghana here the technical men are few and you can make it esaly

otengkwaku 30 Newbie Poster

as said early on you can use a server side language. thus you js function1 will pass the value or the varable to a server side script and value will be stoted and when function2 is called it can look up that varable and use it. or you can use cookies. it works the same way you store than you retrive

otengkwaku 30 Newbie Poster

google has a free search engin you can you. also try searching the web you will get prenty open scoure out there

otengkwaku 30 Newbie Poster

u can use this i try to do it for you i hope it works

<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <style>
        /*this is the style for formation the other div */
        .format {/*this class is for the div that contents the banner for clicking*/
            width: 200px;
            height: 20px;
            background-color: black;
            text-align: center;
            color: white;
            cursor: pointer;
        }
        .top_div {/*this class is for the div that contents all the question */
            width:200px;

            margin: 20px;
        }
       /*this style is only used when you want the default to be hidden 
           comment it out you want to default to be display*/
       .con{
           height: 0px;
           overflow: hidden;
       }
    </style>
    <script>
        //this is the function that hid and show the questions 
        openCon = function () {
            if (document.getElementById("con_div").style.overflow != "hidden") {
                document.getElementById("con_div").style.overflow = "hidden";
                document.getElementById("con_div").style.height = "0px";
            }
            else {
                document.getElementById("con_div").style.overflow = "visible";
                document.getElementById("con_div").style.height = "auto";
            }
            }

    </script>
</head>
<body>
    <div id ="to_div" class ="top_div"><!-- div containing all the question-->
        <div id ="head" class ="format" onclick ="openCon(); " ><!--div containing the clicking part-->
            <p>click to show hidden content</p>
        </div><!-- End of div containing the clicking part-->
        <div id ="con_div" class="con"><!--div containing content to be hidden-->
            <p> all the text that you want it to show when the icon is clicked os let go 
                .duojhsldfje ptj lfkgndlfgndsfjsldkrjweo oejted
                jdsfdsjgore helfk;jndsgjge
                jdfsdogheorghnfh
            </p>
        </div><!-- End of div containing content to be hidden-->
    </div>
    <div><!-- End of div containing all the question-->
        <p>Other content</p>
    </div>
    <!-- By Oteng Ghana --> …
otengkwaku 30 Newbie Poster

as firstPerson said you can use google chart api to add a chart of successful stories to the site. you can also creat a page where jod seekers can offer short online course to inmprove their cv. also you can offer courses for employers also. by the way some of the courses must be free to attract more people. I am graphic designer and also the web designer i am intersed in your idea so if you want to use the site not only as your project work but also for real time busessnes i will like to partner you. if you are intered contact me.

otengkwaku 30 Newbie Poster

first of all is it only the blue screen or there are some things write on it normaly in white. this is simply due to a hardware problem. first dismantly the laptop and fix it back that will solve the problem. if the problem presist than it means a hardware componet is damage.

otengkwaku 30 Newbie Poster

the thing is that ie has some problems with it cames to inplimentation of some of the w3c standered so what to do is try to specify a rule in your css rules for only ie and yous some of the basic way of presenting data like the you of tables instered of divs and others

otengkwaku 30 Newbie Poster

the thing is, if you are able to provide as with the portion of ur code we can effectivly help you. but there are basicaly some things u can do. 1. you can use the css property

{width: 100%;}

or an inline style

<div style="width: 100%;"></div>

if you want your div to cover the whole browser window. but if you want to create a div with a fixed width and center it in ur browser you can use the width property to specife a fixed width and

{margin: auto; }

to center it.

let as know if this helps

otengkwaku 30 Newbie Poster

Hi, i want to start developing app for the andriod paltform and i want to know how to start.
i have knowlegded in C#.

otengkwaku 30 Newbie Poster

Hi guys i need an urgent help. i have been givien an acer aspirs 5516 laptop to repair but i am facing some problem.

The laptop has have water poured on it. but when you boot it the power LED comes on and the fan start to run for some time.
after two secound the fun dies out and the LED stays on. but the laptop don't boot what can be the problem and how do i repair it. this is urgent.

otengkwaku 30 Newbie Poster

Hi Guys well in my course to design websites that are as graphical as posiblem. i normaly prefere designing the graphical element with photoshop and then sending them over to the web page.

Ontill i met CSS, i relised that day in and they out new standareds were evolving to the extent that most of the graphical effect to texts and others can be applied by css example shadow. my only problem is that this new standared are mostly enforced or use or implimented by firefox and may be safare. But the fact remains, if you want your site to look the same in every borwser using these new standarad of CSS will generate a problem. And to all my firends out there try not to use absolute value in your CSS since screen resolutions change by the day. try using percentages instead.

so i ask what do we do since not all the browsers uphold these new standarads

otengkwaku 30 Newbie Poster

Hello All,
I am a newbie on this forum. My name is Krunal. I am a beginner of JAVA and JSP. I would like to learn more and more from this forum. Thank you in advance. :):)

i can see you are into web designing than welcome on board. i am a graphic designer and a web designer