Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8922447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:50:12+00:00 2026-06-15T06:50:12+00:00

hi could someone help me i’m trying getting the liberty simpleini for c++ to

  • 0

hi could someone help me i’m trying getting the liberty simpleini for c++ to read/write a file from a different directory but so far nothing is working.

using windows 7

#include "SimpleIni.h"
#include <stdio.h>

int main( int argc, char** argv)
{
CSimpleIniA ini;

ini.SetValue("test", "default", "1");
ini.SaveFile("c:\\test\\test.ini");
//tried ini.SaveFile("c:\test\test.ini");

ini.LoadFile("c:\\test\\test.ini");
//tried ini.LoadFile("c:\test\test.ini");
const char * set = ini.GetValue("test", "default", "");

printf( "value = %s", set ); // should load from c:\test\test.ini

return 0;
}

source http://code.jellycan.com/simpleini-doc/html/index.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:50:13+00:00Added an answer on June 15, 2026 at 6:50 am

    The problem is in that it doesn’t create directories.
    You should create “c:\test” directory first on your own and then start application.
    I started with your code and it didn’t work, then I created “test” folder on drive C and it began to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could someone help me to write a function that checks if a string is
Could someone help me to write a logic that converts a ID array to
Could someone help me with this issue. I'm trying to figure out how to
Please could someone help im building my first website that pulls info from a
Please could someone help me, i will be forever appreciative. I'm trying to create
Could someone help me understand how to preload the images from random.php page so
Could someone help me with folowing questions? I'm trying to call async_send within the
Could someone help me understand why this link works perfectly in firefox but in
Could someone help me afloat here? Still new to F#, actually trying to use
Could someone help me kill two birds with one stone? I've been trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.